I am trying to send strings over a simple TCP Socket connection but it will not send more than about 7 kBytes.
I am not using the TCPListener / TCPClient but the Socket class, the socket parameters being NetworkFamily.Internetwork, Protocol.Tcp, and Stream as a socket type.
To send data, I am using the Socket.Send() member.
The server accepts the connection synchronously and creates a new socket and it all works perfectly and as long as I am having small strings it is not a problem. The receive buffer I tried to set to varying sizes with no change.
Do I need to get more complicated - do I need to use streams and all kinds of things? I have seen samples which just use Send() as I am but it's not working for me. I am using the .NET Framework 2.0 in C#.
Regards
Peter