[Ikvm-developers] socket fixes
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2003-03-31 14:59:14
|
Hi, I checked in a bunch of fixes to the Socket classes. Mauve results: 172 of 7707 tests failed Change Log * IK.VM.NET/classpath.cs (InetAddress.getHostByAddr): added work around netbios/hostname bug in Dns.GetHostByAddress (AddressToByteArray): change argument from int to IPAddress (PlainSocketImpl.getLocalAddress): added (CIL.unbox_int): added * classpath/System.jar regenerated with fixed netexp.exe * classpath/allsources.lst added CIL.java * classpath/ikvm/lang/CIL.java new file * classpath/java/net/PlainDatagramSocketImpl.java (MyUdpClient): added static inner subclass of UdpClient to expose Client property (join): implemented (leave): implemented (setTTL): made byte to integer promotion unsigned (getOption): implemented IP_TTL (setOption): implemented IP_TTL * classpath/java/net/PlainSocketImpl.java (accept): catch system.net.sockets.SocketException and throw java.io.IOException (available): catch system.net.sockets.SocketException and throw java.io.IOException (bind): catch system.net.sockets.SocketException and throw java.io.IOException (close): catch system.net.sockets.SocketException and throw java.io.IOException (connect(InetAddress,int): catch system.net.sockets.SocketException and throw java.io.IOException (connect(String,int)): removed bogus comment and reformatted (create): catch system.net.sockets.SocketException and throw java.io.IOException (listen): catch system.net.sockets.SocketException and throw java.io.IOException (read): catch system.net.sockets.SocketException and throw java.io.IOException (write): catch system.net.sockets.SocketException and throw java.io.IOException (setOption): implemented (getOption): implemented (getLocalAddress): added * netexp/NetExp.cs (ProcessMethod): don't expose methods that have ByRef arguments Regards, Jeroen |