TCP Nagle algorithm default
TCP Nagle algorithm default
Is TCP Nagle algorithm enabled by default?
Re: TCP Nagle algorithm default
Yes that is the default as far as I'm aware
you can turn it off and on with
you can turn it off and on with
Code: Select all
Procedure TCPNoDelay(ID,set.l=#True)
Protected option.l,oplen.l=4
If setsockopt_(ID,#IPPROTO_TCP,#TCP_NODELAY,@set,oplen) = 0
If getsockopt_(ID,#IPPROTO_TCP,#TCP_NODELAY,@option,@oplen ) = 0
ProcedureReturn option
EndIf
ProcedureReturn -1
EndIf
EndProcedure
Re: TCP Nagle algorithm default
COOL!!!
¡Muchas gracias!