[erlang-questions] how to flush a gen_tcp socket on close?

Anthony Shipman als@REDACTED
Mon Apr 2 16:19:48 CEST 2012


On Mon, 2 Apr 2012 09:56:46 am Andreas Schultz wrote:
> So, how do I force a gen_tcp socket so flush it's send queue
> before closing it?
> 
> Andreas
> 
I think doing a shutdown(, read_write) should ensure it is flushed.
-- 
Anthony Shipman                    Mamas don't let your babies 
als@REDACTED                   grow up to be outsourced.



More information about the erlang-questions mailing list