I have set the sendbuffer size to 8192 using setsockopt and verified that it
is set to 8192 using the getsockopt function. However I can only send a
maximum of 1472 bytes of data. If I try to send 1473 or more I get an error
of “Message too long”.
I have set the sendbuffer size to 8192 using setsockopt and verified that
it
is set to 8192 using the getsockopt function. However I can only send a
maximum of 1472 bytes of data. If I try to send 1473 or more I get an
error
of “Message too long”.
I have set the sendbuffer size to 8192 using setsockopt and verified that it
is set to 8192 using the getsockopt function. However I can only send a
maximum of 1472 bytes of data. If I try to send 1473 or more I get an error
of “Message too long”.
I believe the maximum message size for a UDP broadcast is limited by the
MTU
size of the underlying link, which in the case of ethernet is 1500 bytes.
Regards,
Barry F.
freddy <> lmccambley@excalibur.com> > wrote in message
news:b2e1ff$jfh$> 1@inn.qnx.com> …
I have set the sendbuffer size to 8192 using setsockopt and verified
that
it
is set to 8192 using the getsockopt function. However I can only send a
maximum of 1472 bytes of data. If I try to send 1473 or more I get an
error
of “Message too long”.
Your packet (plus headers) winds up being > the mtu of the link.
Broadcast packets are prohibited from being fragmented.
-seanb
freddy <> lmccambley@excalibur.com> > wrote:
I have set the sendbuffer size to 8192 using setsockopt and verified
that it
is set to 8192 using the getsockopt function. However I can only send a
maximum of 1472 bytes of data. If I try to send 1473 or more I get an
error
of “Message too long”.