From: <ls...@us...> - 2007-10-27 20:42:54
|
Revision: 3572 http://jnode.svn.sourceforge.net/jnode/?rev=3572&view=rev Author: lsantha Date: 2007-10-27 13:42:50 -0700 (Sat, 27 Oct 2007) Log Message: ----------- Workaround for unsupported SO_TIMEOUT. Modified Paths: -------------- trunk/net/src/net/org/jnode/net/ipv4/tcp/TCPSocketImpl.java Modified: trunk/net/src/net/org/jnode/net/ipv4/tcp/TCPSocketImpl.java =================================================================== --- trunk/net/src/net/org/jnode/net/ipv4/tcp/TCPSocketImpl.java 2007-10-26 21:30:12 UTC (rev 3571) +++ trunk/net/src/net/org/jnode/net/ipv4/tcp/TCPSocketImpl.java 2007-10-27 20:42:50 UTC (rev 3572) @@ -186,6 +186,9 @@ return controlBlock.getReceiveBufferSize(); case SocketOptions.SO_SNDBUF: return controlBlock.getSendBufferSize(); + case SocketOptions.SO_TIMEOUT: + //todo implement it, 0 means disabled + return 0; default: throw new SocketException("Option " + option_id + " is not recognised or not implemented"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |