Vote UpVote

Indy Sockets and getting a description on the connection depends on the direction

The Wiert Corner – From my Indy gitter archive: @jpluimers From a TIdIOHandlerSocket or TIdSocketHandle: is it possible to see who has initiated the connection? i.e. if it’s Binding.Peer that initiated to Binding.IP or the other way around? @rlebeau A socket is bidirectional, it doesn’t know or care which direction the connection was initially established. You will have to keep track of that yourself based on whether the socket is coming from a client component or a server component. @jpluimers I was afraid so. No problem: thanks for confirming. So I made a helper class for TIdSocketHandle that gets ...
Favorite? Off-Topic? jpluimers @ 2018-05-29 07:04


Visits: 90
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)