Hi,
I want to ensure, once I call RSocket::RecvFrom() to listen on a given port number for incoming UDP data and the UDP datagram size is bigger then buffer specified in the RecvFrom() method - data are lost?
Thanks,
BR
STeN
Hi,
I want to ensure, once I call RSocket::RecvFrom() to listen on a given port number for incoming UDP data and the UDP datagram size is bigger then buffer specified in the RecvFrom() method - data are lost?
Thanks,
BR
STeN
Hi,
I think that the data may still be in the driver buffer (if the data you are sending is not to big for it) so if you call RecvFrom few times fast enough you should be able to get all the data.
Nahum
With datagrams it will be lost. You can prevent this by using the KSockReadContinuation flag. In such cases, the TSockXfrLength param can be handy, as it indicates the number of remaining bytes in the datagram.
Hi,
thanks guys for advices - I will try it and keep you updated how it works and what are my results.
Regards,
STeN