Qeltaras wrote:
> I write a program for sanding and receive packet with 2 ethernet cards
> on the same pc.
> The program run correctly (if I send much packet I have problem with
> rtskb) for a small number of packets, but if I use in the recvfrom the

A socket is normally created with a pool of 16 rtskbs. This pool is
enough for many scenarios, but it may run short under high load. See the
frag-ip example for increasing the pool size.

> flag  MSG_DONTWAIT, the program don't receive anything.
> Can you help me?

Did you consider that MSG_DONTWAIT puts the socket in non-blocking mode,
i.e. that you are now polling for arriving packets? If yes, please
provide a short code example that demonstrates the problem.

Jan


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to