Relative Content

Tag Archive for c#.netsocketswebsockettcp

C# TCP Socket for File Transfer – Many Small Packets vs One Big Packet

I’m building a full-stack application where the server is to be capable of maintaining connections with multiple clients at the same time. Communication will be done via TCP-IP. Since most of the data transferred will be very small, I’ve compromised to set the buffer to 4096 bytes for both ends.