- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/net/PlainSocketImpl.java (modified) (4 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/net/PlainSocketImpl.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 10 10 11 11 package java.net; 12 import java.io.*; 13 12 13 import java.io.InputStream; 14 import java.io.IOException; 15 import java.io.OutputStream; 14 16 15 17 /** … … 29 31 _Jv_SO_BINDADDR_ = SocketOptions.SO_BINDADDR, 30 32 _Jv_SO_REUSEADDR_ = SocketOptions.SO_REUSEADDR, 31 _Jv_IP_MULTICAST_IF_ = SocketOptions.IP_MULTICAST_IF, 33 _Jv_SO_BROADCAST_ = SocketOptions.SO_BROADCAST, 34 _Jv_SO_OOBINLINE_ = SocketOptions.SO_OOBINLINE, 35 _Jv_IP_MULTICAST_IF_ = SocketOptions.IP_MULTICAST_IF, 36 _Jv_IP_MULTICAST_IF2_ = SocketOptions.IP_MULTICAST_IF2, 37 _Jv_IP_MULTICAST_LOOP_ = SocketOptions.IP_MULTICAST_LOOP, 38 _Jv_IP_TOS_ = SocketOptions.IP_TOS, 32 39 _Jv_SO_LINGER_ = SocketOptions.SO_LINGER, 33 40 _Jv_SO_TIMEOUT_ = SocketOptions.SO_TIMEOUT, 34 41 _Jv_SO_SNDBUF_ = SocketOptions.SO_SNDBUF, 35 _Jv_SO_RCVBUF_ = SocketOptions.SO_RCVBUF; 42 _Jv_SO_RCVBUF_ = SocketOptions.SO_RCVBUF, 43 _Jv_SO_KEEPALIVE_ = SocketOptions.SO_KEEPALIVE; 36 44 37 45 /** … … 54 62 public native Object getOption(int optID) throws SocketException; 55 63 64 65 66 67 56 68 protected native void create (boolean stream) throws IOException; 57 69 58 70 protected void connect (String host, int port) throws IOException 59 71 { 60 connect(InetAddress.getByName(host), port); 61 } 62 63 protected native void connect (InetAddress host, int port) 72 connect (new InetSocketAddress (InetAddress.getByName(host), port), 0); 73 } 74 75 protected void connect (InetAddress host, int port) throws IOException 76 { 77 connect (new InetSocketAddress (host, port), 0); 78 } 79 80 protected native void connect (SocketAddress addr, int timeout) 64 81 throws IOException; 65 82 … … 79 96 protected native void close () throws IOException; 80 97 98 99 81 100 82 101 // Stream handling. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
