Hi,
I'm writing a server application, using sockets (TCP) for
communication.
When receiving requests I'm using BeginReceive/EndReceive, and I'm
handling defragmented messages.
My question is:
Do I have to handle defragmented messages in the server when sending
the reply to the client (or can the EndSend return-value be smaller
than the BeginSend size-parameter)? Is defragmentation handled internally by
the BeginSend command?
I have tried with quite large messages (300k), and EndSend returned the size
of the whole message....