[erlang-questions] gen_tcp:send(Sock, SmallPacket) issue

David Mercer <>
Wed Jun 20 00:13:33 CEST 2007


>  > Admittedly, in my network programming, I hardly ever do anything with
the
>  > TCP ack other than log it.
> 
> I'm not aware of any socket interface in unix which lets you see those
> acks, short of a packet sniffer. Are you sure you're logging TCP acks
> and not something else? If so, how?

Windows, using MS Winsock.  SendProgress event fires for each ack for each
packet; SendComplete event fires when all acks have been received for every
packet in a send.  Sometimes I ignore them, sometimes I log them (normally
as a result of previous debugging of network issues).

David




More information about the erlang-questions mailing list