TsgcTCPClient › Properties › UseNagle
Enables or disables Nagle's algorithm (TCP_NODELAY) on the client socket.
property UseNagle: Boolean read FUseNagle write FUseNagle stored True;
True
Leave UseNagle at the default True to keep Nagle's algorithm enabled, which buffers small outgoing packets and coalesces them into fewer segments to reduce header overhead. Set it to False (TCP_NODELAY) when the protocol requires low-latency delivery of small messages and each call to WriteData must hit the wire immediately. Applied when the TCP client socket is created.
oTCP := TsgcTCPClient.Create(nil);
oTCP.Host := 'www.esegece.com';
oTCP.Port := 2053;
oTCP.UseNagle := false;
oTCP.Active := true;