lkml.org 
[lkml]   [1998]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ECONNREFUSED in recvfrom ?
Date
From
>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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.036 / U:5.484 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site