Urgent Problem - Receiving 0 bytes when sending bytes to remote socket  
Author Message
Daikoku





PostPosted: .NET Framework Networking and Communication, Urgent Problem - Receiving 0 bytes when sending bytes to remote socket Top

Hi,

I'm having a real urgent problem that only started to show in production. We're using async SSL sockets broadcasting packets to several clients. However, some clients reply with 0 bytes when the packets are sent to them, whereas this problem never showed on our internal network. This only happens for clients connected via the internet.
Any idea what could be going on here

Tom


.NET Development7  
 
 
Mike Flasko





PostPosted: .NET Framework Networking and Communication, Urgent Problem - Receiving 0 bytes when sending bytes to remote socket Top

What do you mean by SSL Sockets Are you using System.Net.SSLStream Could you provide a short code snippet showing the send code and receive code

Thanks



 
 
IanG





PostPosted: .NET Framework Networking and Communication, Urgent Problem - Receiving 0 bytes when sending bytes to remote socket Top

A received byte count of 0 indicates that the connection has been closed by the other end in some of .NET's networking APIs.

What API are you using What's the method you are calling that's telling you you got a reply with 0 bytes