G
Guest
I'm using TcpClient and getting the Stream by:
TcpClient tcpclnt = new TcpClient();
. . .
Stream stm = tcpclnt.GetStream();
Now, when I'm trying to send a big buffer via stm.Write(...) I get an
exception saying that the buffer is too big.
I tried to set the tcpclnt.ReceiveBufferSize to the size of the buffer I"m
trying to send, but the exception is still thrown, there is no transmit
buffer I can set.
How can I solve this problem beside splitting my buffer and transmit it by
chunks?
What is the limit of the buffer?
TcpClient tcpclnt = new TcpClient();
. . .
Stream stm = tcpclnt.GetStream();
Now, when I'm trying to send a big buffer via stm.Write(...) I get an
exception saying that the buffer is too big.
I tried to set the tcpclnt.ReceiveBufferSize to the size of the buffer I"m
trying to send, but the exception is still thrown, there is no transmit
buffer I can set.
How can I solve this problem beside splitting my buffer and transmit it by
chunks?
What is the limit of the buffer?