/[classpath]/classpath/java/net/SocketOptions.java
ViewVC logotype

Diff of /classpath/java/net/SocketOptions.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by arenn, Sat May 24 03:59:33 2003 UTC revision 1.12 by mkoch, Sun Oct 12 15:35:01 2003 UTC
# Line 60  public interface SocketOptions Line 60  public interface SocketOptions
60     * Option id for the SO_KEEPALIVE value     * Option id for the SO_KEEPALIVE value
61     * @since 1.3     * @since 1.3
62     */     */
63    static final int SO_KEEPALIVE = 0x8;    int SO_KEEPALIVE = 0x8;
64    
65    /**    /**
66     * Option id for the SO_LINGER value     * Option id for the SO_LINGER value
67     */     */
68    static final int SO_LINGER = 0x80; // 128    int SO_LINGER = 0x80; // 128
69    
70    /**    /**
71     * Option id for the SO_TIMEOUT value     * Option id for the SO_TIMEOUT value
72     */     */
73    static final int SO_TIMEOUT = 0x1006; // 4102    int SO_TIMEOUT = 0x1006; // 4102
74    
75    /**    /**
76     * Retrieve the local address to which the socket is bound.     * Retrieve the local address to which the socket is bound.
77     */     */
78    static final int SO_BINDADDR = 0x0F; // 15    int SO_BINDADDR = 0x0F; // 15
79    
80    /**    /**
81     * Option id for the send buffer size     * Option id for the send buffer size
82     * @since 1.2     * @since 1.2
83     */     */
84    static final int SO_SNDBUF = 0x1001; // 4097    int SO_SNDBUF = 0x1001; // 4097
85    
86    /**    /**
87     * Option id for the receive buffer size     * Option id for the receive buffer size
88     * @since 1.2     * @since 1.2
89     */     */
90    static final int SO_RCVBUF = 0x1002; // 4098    int SO_RCVBUF = 0x1002; // 4098
91    
92    /**    /**
93     * Sets the SO_REUSEADDR parameter on a socket     * Sets the SO_REUSEADDR parameter on a socket
94     */     */
95    static final int SO_REUSEADDR = 0x04; // 4    int SO_REUSEADDR = 0x04; // 4
96    
97    /**    /**
98     * Sets SO_BROADCAST for a socket     * Sets SO_BROADCAST for a socket
99     * @since 1.4     * @since 1.4
100     */     */
101    static final int SO_BROADCAST = 0x20; // 32    int SO_BROADCAST = 0x20; // 32
102    
103    /**    /**
104     * Sets SO_OOBINLINE for a socket     * Sets SO_OOBINLINE for a socket
105     * @since 1.4     * @since 1.4
106     */     */
107    static final int SO_OOBINLINE = 0x1003; // 4099    int SO_OOBINLINE = 0x1003; // 4099
108    
109    /**    /**
110     * Option id for the TCP_NODELAY value     * Option id for the TCP_NODELAY value
111     */     */
112    static final int TCP_NODELAY = 0x01; // 1    int TCP_NODELAY = 0x01; // 1
113    
114    /**    /**
115     * Options id for the IP_MULTICAST_IF value     * Options id for the IP_MULTICAST_IF value
116     */     */
117    static final int IP_MULTICAST_IF = 0x10; // 16    int IP_MULTICAST_IF = 0x10; // 16
118    
119    /**    /**
120     * same as above     * same as above
121     * @since 1.4     * @since 1.4
122     */     */
123    static final int IP_MULTICAST_IF2 = 0x1F; // 31    int IP_MULTICAST_IF2 = 0x1F; // 31
124    
125    /**    /**
126     * This option enables or disables local loopback of multicast datagrams.     * This option enables or disables local loopback of multicast datagrams.
127     * @since 1.4     * @since 1.4
128     */     */
129    static final int IP_MULTICAST_LOOP = 0x12; // 18    int IP_MULTICAST_LOOP = 0x12; // 18
130    
131    /**    /**
132     * This option sets the type-of-service or traffic class field in the     * This option sets the type-of-service or traffic class field in the
133     * IP header for a TCP or UDP socket.     * IP header for a TCP or UDP socket.
134     * @since 1.4     * @since 1.4
135     */     */
136    static final int IP_TOS = 0x03; // 3    int IP_TOS = 0x03; // 3
137    
138    /**    /**
139     * Sets the specified option on a socket to the passed in object.  For     * Sets the specified option on a socket to the passed in object.  For

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26