by LT posted on 2006/04/05 |
|
I try to set several needed Socket properties but get exception or no response.
remote.SetSocketOption(SocketOptionLevel.Socket,SocketOptionName.NoDelay, true); throw exception "optionValue"
When using
remote.SetSocketOption(SocketOptionLevel.Socket,SocketOptionName.ReceiveTimeout, m_read_timeout);
remote.SetSocketOption(SocketOptionLevel.Socket,SocketOptionName.SendTimeout, m_write_timeout);
It looks like the timeout i give is not used at all and the write/read hangs.
Any idea?!
Thanx |