J
Jimbo
Hi Guys,
I'm sorry if you have heard this one before but searching the net
hasn't found a solution.
I am using Socket in a client to connect to a server. However, after
I've finished sending and recieving data and call the Close() method the
socket lingers for a couple of minutes. This is demonstrated by using
netstat -a.
I've tried an assortment of SocketOptions (Linger, and DontLinger), but
all with no success.
Is there a definitive answer for the lingering socket? Is it an OS
problem (I am running XP Home), Is it a .Net Framework bug? What do I do
to close connection?
Thanks in advance
James.
I'm sorry if you have heard this one before but searching the net
hasn't found a solution.
I am using Socket in a client to connect to a server. However, after
I've finished sending and recieving data and call the Close() method the
socket lingers for a couple of minutes. This is demonstrated by using
netstat -a.
I've tried an assortment of SocketOptions (Linger, and DontLinger), but
all with no success.
Is there a definitive answer for the lingering socket? Is it an OS
problem (I am running XP Home), Is it a .Net Framework bug? What do I do
to close connection?
Thanks in advance
James.