T
toobee84
hi,
i am looking around the internet for a while now..... with no helpful
results.
i'm using udp-socket in a program what works fine so far until the
point i try to send a package with a size that exceeds the usual
~1500Byte/package.
the sendto()-call gives me then a "Message too long" error. Do i have
to make the fragmentation of the package myself or does the socket-API
provides any function to split the packages ?
if i have to do it myself how can i set the fragmentation bit in the
header file to tell the "socket" that i'm sending a splitted package?
(i know that i can use raw-sockets to set the whole header but that
have to work with usual SOCK_DGRAM somehow?)
can someone gives me a clue or a answer, i need to send udp-packages
(or split them) with a total size of 10.000 - 30.000 Byte
i am looking around the internet for a while now..... with no helpful
results.
i'm using udp-socket in a program what works fine so far until the
point i try to send a package with a size that exceeds the usual
~1500Byte/package.
the sendto()-call gives me then a "Message too long" error. Do i have
to make the fragmentation of the package myself or does the socket-API
provides any function to split the packages ?
if i have to do it myself how can i set the fragmentation bit in the
header file to tell the "socket" that i'm sending a splitted package?
(i know that i can use raw-sockets to set the whole header but that
have to work with usual SOCK_DGRAM somehow?)
can someone gives me a clue or a answer, i need to send udp-packages
(or split them) with a total size of 10.000 - 30.000 Byte