Messages in this thread | | | Subject | Re: ECONNREFUSED in recvfrom ? | Date | Tue, 13 Oct 1998 21:41:05 -0700 | From | Craig Milo Rogers <> |
| |
>Wouldn't you say this is a fundamental design flaw too: > >1. send packet >2. sent unrelated packet (does it go out?), get error from packet one
Ahh, but there's an incorrect statement here, I think. Packet 1 and packet 2 are not "unrelated": they share a socket (to be more specific, they share a UDP port on a IP address) (maybe on multiple IP addresses, for that matter).
Thus, by definition they are related. They share a common, asynchronous response stream. The "Identification" field in the IPv4 header can be used to match most error responses with the original packet (assuming that you recorded the outgoing packet's Identification, of course).
Craig Milo Rogers
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |