I do the same thing with TCP, and for UDP ports of clients (the client sends their port via TCP). Plus if the client cant use UDP for some reason, it reroutes traffic to TCP.Originally Posted by techomange
Indy doesnt fully detect TCP disconnects (thats what i meant at first). Even if you ask it "TCPClient.Connected" it can return true while the connected has been broken or timed out. I purchased an Indy support package (recommended) and they told me that we have to send keep alives and queries to verify TCP connection.
Bookmarks