[erlang-questions] EPIPE and TCP sockets

Tony Garnock-Jones tonyg@REDACTED
Tue Oct 16 14:26:17 CEST 2007


Per Hedeland wrote:
> Uh, you snipped the part where I described how the sockets interface
> *is* set up for it:-) (via SO_LINGER).

Well... ok :-) Yeah. It's just that I'd be uncomfortable using it in
erlang, as it stands, and also...

> That's what you generally need to do anyway, if you want to be sure that
> the remote *application* received that last chunk of data you sent - and
> not just that the TCP stack ack'ed it.

... this rather puts the fatal spanner in the works, as you observe.

I'll definitely be sticking with the app-level solution :-)

Regards,
  Tony
-- 
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: tonyg@REDACTED



More information about the erlang-questions mailing list