Results 1 to 2 of 2

Thread: Disable nagle algorithm

  1. #1

    Disable nagle algorithm

    Anyone know how to disable this in Delphi?

    I am using TidTCPServer & Client, I assume they descend from TCustomWinSocket, which is a wrapper for WinSock, at API level I think the function is setsockopt, but I have no idea how to do this? It should be a case of simply setting TCP_NODELAY flag.
    http://www.c5software.co.uk (site is being developed at the moment)

  2. #2

    Disable nagle algorithm

    With Indy v9 (some version of v9 anyway)

    Code:
    TIdIOHandlerSocket.UseNagle
    :lol:

    Otherwise it somewere on the TidTCPSever class in earlier versions.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •