UDP send file issue
-
I try to use UDPClient to send a file but when i send a small file like 50k, the UDPClient works good but when i send a file 500k the UDPClient.Send() throw an exception A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself Someone can help me to fix this issue, it looks like the send buffer and receive buffer are to small.
I want to make some friends here
-
I try to use UDPClient to send a file but when i send a small file like 50k, the UDPClient works good but when i send a file 500k the UDPClient.Send() throw an exception A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself Someone can help me to fix this issue, it looks like the send buffer and receive buffer are to small.
I want to make some friends here
send file streams inspite the file directly