Messages in this thread | | | Date | Thu, 15 Oct 1998 19:52:54 +0200 (MET DST) | From | Davide Rossetti <> | Subject | Re: ECONNREFUSED in recvfrom ? |
| |
On Thu, 15 Oct 1998, Jamie Lokier wrote:
> On Tue, 13 Oct 1998, Albert D. Cahalan wrote: > > > 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 > > > 3. send packet > > > 4. quit > > > > > > (and obviously no errors on that last packet...) > > Of course, that last packet may return an ICMP error but you closed the socket before receiving it... > > > perhaps, it'd be useful to recv in PEEK mode after each sending, just to > > check for errors. > > Well if you do it _immediately_ after each sending, the ICMP error > response probably won't have been received yet (except for loopback > devices).
no, I mean recv in peek mode before any new recv/send. regards.
+------------------------------------------------------------------+ |Rossetti Davide INFN - Sezione Roma I - gruppo V, prog. APEmille| | web : http://apemaia.roma1.infn.it/~rossetti | | """"" E-mail : davide.rossetti@roma1.infn.it | | |o o| phone : (+39)-6-49914412 | |--o00O-O00o-- fax : (+39)-6-4957697 | | address: Dipartimento di Fisica (V.E.) | | Universita' di Roma "La Sapienza" | | P.le Aldo Moro,5 I - 00185 Roma - Italy| | pgp pub. key: finger rossetti@apemaia.roma1.infn.it | | | |"Most people think about twice a year. I got famous by thinking | | once a week." - George B. Shaw (see Appendix A) | +------------------------------------------------------------------+
- 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/
| |