The possible reasons for SOCK_DGRAM packet loss in PF_LOCAL domain
The possible reasons for SOCK_DGRAM packet loss in PF_LOCAL domain
- Subject: The possible reasons for SOCK_DGRAM packet loss in PF_LOCAL domain
- From: eveningnick eveningnick <email@hidden>
- Date: Fri, 7 Jan 2011 03:04:55 +0200
Hello
I am wondering what could possibly cause the loss of the datagram in
User Domain Sockets communication.
i am aware that SOCK_DGRAM is a connectionless and therefore
unreliable way of communication (in PF_INET).
But what could be the reason for packets to be lost in LOCAL domain?
There are no routers, and no "dead" routes. There is no
electromagnetic interference.
Does the system drop them when its out of resources (when there's no
more memory for new mbufs)? I can't see any other possible scenario.
I haven't found any information about its unreliability in this
domain, except one person's statement about Mac OS X's behaviour. Thus
i am unsure if i could use them (or if not, why?).
I only noticed that sendto blocks unless recvfrom receives data.
Recvfrom blocks, until sendto sends data. They never returned errors.
Thanks for the answer!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden