Sockets Broken ??
-
Hello Has anyone experienced problem with the Socket class ?? That is when I'm sending async data then when I have sent more than 2200 bytes then the socket will never close correctly even if I do m_sock.Shutdown(SocketShutdown.Both); m_sock.Close(); That is the .NET will think it closed but the server on the other end will never see that it closed. (Yes the server is working correctly, and detects closing from C++ and old VB) I have downloading working fine with the .NET socket. But always when uploading then the closing procedure wont work when total bytes sent are greater than 2200 bytes, and it does not seem to mater if I send it all at once or in parts. So the question here is if anyone else has this problem, and if this is a known issue ?
-
Hello Has anyone experienced problem with the Socket class ?? That is when I'm sending async data then when I have sent more than 2200 bytes then the socket will never close correctly even if I do m_sock.Shutdown(SocketShutdown.Both); m_sock.Close(); That is the .NET will think it closed but the server on the other end will never see that it closed. (Yes the server is working correctly, and detects closing from C++ and old VB) I have downloading working fine with the .NET socket. But always when uploading then the closing procedure wont work when total bytes sent are greater than 2200 bytes, and it does not seem to mater if I send it all at once or in parts. So the question here is if anyone else has this problem, and if this is a known issue ?
Are you using a Beta or RC of (VS).NET? There was a known bug in the Betas/RC where the Socket.Close function didn't close the socket. If you want the full details search the DOTNET archives. With it being such a large bug I would assume that it has been fixed in the final versions. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
Are you using a Beta or RC of (VS).NET? There was a known bug in the Betas/RC where the Socket.Close function didn't close the socket. If you want the full details search the DOTNET archives. With it being such a large bug I would assume that it has been fixed in the final versions. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971