Hello,
in msdn stands, that the socket.available property can fire a
SocketException when the remote machine has closed the connection.
why can?
I have to check the number of receivable bytes bevor I receive them, but
when remote closes the connection, it ends in an endless loop...
while(socket.Available < RequiredBytes) {}
how to solve?
thanks
Dirk (germany)