[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] weird problem with UDP sendmsg



Hi people,

I tried to send MPEG-frames e.g. 40300 bytes large over UDP, which should 
split them up in packets of 500 bytes and send them over my network.
So, my MPEG1-traffic generator calls the function
void UdpAgent::sendmsg(int nbytes, const char* flags), in udp.cc with 
nbytes=40300

The weird thing is ; when UDP has to send more than 50 packets, it does 
strange things.

At first my sending node drops the last packet (packet number 80, counting 
from zero) and then it only sends 50 packets (packetnr 0-49), and then it 
just stops.

It should send 81 packets (starting with packetnr 0, till 80) !

Every time UDP has to send more than 50 packages, this happens.

Does anyone know why this is happening and how i can solve it??

MVG
Dirk.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp