[lkml]   [1998]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ECONNREFUSED in recvfrom ?
>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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [W:0.049 / U:17.536 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site