Sending large amounts of UDP data

  • Thread starter Thread starter Brian Mitchell
  • Start date Start date
B

Brian Mitchell

I have an interesting problem when I try to send bulk data over a UDP
connection. When my message length is over 1,400 bytes I get the error "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"

Is there anyway to compress the messages before sending or some way to break
up the datagrams? I am sending Serialized classes over the UDP so there is
no easy way for me to split the data in there.

Thanks in advance!
 
Hi,

Maybe Carls Zip Library will help.

http://www.franklins.net/dotnet/

Ken
---------------------
I have an interesting problem when I try to send bulk data over a UDP
connection. When my message length is over 1,400 bytes I get the error "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"

Is there anyway to compress the messages before sending or some way to break
up the datagrams? I am sending Serialized classes over the UDP so there is
no easy way for me to split the data in there.

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top