aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/natNetworkInterface.cc
AgeCommit message (Collapse)AuthorFilesLines
2003-03-18configure.in: Fixed links to platform dependant java.net files.Michael Koch1-144/+0
2003-03-18 Michael Koch <konqueror@gmx.de> * configure.in: Fixed links to platform dependant java.net files. * configure: Regenerated. * java/net/natInetAddress.cc, java/net/natNetworkInterface.cc, java/net/natPlainDatagramSocketImpl.cc, java/net/natPlainSocketImpl.cc: Removed. From-SVN: r64527
2002-11-212002-11-21 Michael Koch <konqueror@gmx.de>Michael Koch1-7/+6
* include/posix.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_platform_close_on_exec): Prefixed system function with "::". (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * include/win32.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * java/net/natNetworkInterface.cc: Include platform.h, removed inclusion of socket.h (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and ::close() by _Jv_close(). * java/net/natPlainDatagramSocketImpl.cc: Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind, added some new lines to make code more readable. (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). * java/net/natPlainSocketImpl.cc: Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept, removed include of socket.h, removed some windows defines (now in include/win32.h). (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). (write): Replaced ::read by _Jv_write(). (read): Replaced ::read by _Jv_read(). From-SVN: r59338
2002-10-102002-10-08 Michael Koch <konqueror@gmx.de>Michael Koch1-3/+3
* java/net/HttpURLConnection.java (getPermission): New method. (getErrorStream): New stub method. (getHeaderFieldDate): New stub method. * java/net/Inet4Address.java: (isLinkLocalAddress): Typo fixed. * java/net/InetAddress.java: (readResolve): New stubbed method (for serialization). (isAnyLocalAddress): New stubbed method. (isLoopbackAddress): New stubbed method. (isLinkLocalAddress): New stubbed method. (isSiteLocalAddress): New stubbed method. (isMCGlobal): New stubbed method. (isMCNodeGlobal): New stubbed method. (isMCLinkLocal): New stubbed method. (isMCSiteLocal): New stubbed method. (isMCOrgLocal): New stubbed method. (getCanonicalHostName): New stubbed method. (getByAddress): Create instances of Inet4Address/Inet6Address, instead of InetAddress, documentation added. * java/net/MulticastSocket.java (getInterface): Removed FIXME. (getNetworkInterface): New method. (setNetworkInterface): New method. * java/net/NetworkInterface.java: (toString): Use property "line.separator" instead of "\n". * java/net/URLConnection.java (getContent): New stubbed method. * java/net/URLStreamHandler.java: (equals): New stubbed method. (hostsEqual): New stubbed method. (hashCode): New stubbed method. * java/net/natNetworkInterface.cc: (getRealNetworkInterfaces): Create Inet4Address object instead of InetAddress. From-SVN: r58002
2002-10-03natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some ↵Adam Megacz1-0/+4
functionality that isn't supported yet on WIN32. 2002-10-03 Adam Megacz <adam@xwt.org> * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some functionality that isn't supported yet on WIN32. From-SVN: r57794
2002-09-18Matcher.java, [...]: Merge with classpath, new files.Michael Koch1-3/+1
2002-09-18 Michael Koch <konqueror@gmx.de> * java/util/regex/Matcher.java, java/util/regex/Pattern.java, java/util/regex/PatternSyntaxException.java: Merge with classpath, new files. * Makefile.am (core_java_source_files): Added java/util/regex/Matcher.java, java/util/regex/Pattern.java, java/util/regex/PatternSyntaxException.java * Makefile.in: Regenerated. * include/config.h.in: Added HAVE_NET_IF_H. * java/net/natNetworkInterface.cc (getRealNetworkInterfaces): Removed #if 0 ... #endif. From-SVN: r57275
2002-09-17natNetworkInterface.cc: Removed unneed and yet wrong includes.Michael Koch1-4/+3
2002-09-17 Michael Koch <konqueror@gmx.de> * java/net/natNetworkInterface.cc: Removed unneed and yet wrong includes. From-SVN: r57246
2002-09-17NetworkInterface.java: New file.Michael Koch1-0/+144
2002-09-17 Michael Koch <konqueror@gmx.de> * java/net/NetworkInterface.java: New file. * java/net/natNetworkInterface.java: New file. * configure.in: Added check for net/if.h. * configure: Regenerated. * Makefile.am (ordinary_java_source_files): Added NetworkInterface.java. (nat_source_files): Added natNetworkInterface.cc. * Makefile.in: Regenerated. From-SVN: r57234