telnetlib icon indicating copy to clipboard operation
telnetlib copied to clipboard

how to get ip address of client

Open voidest1 opened this issue 3 years ago • 1 comments

the same to title

voidest1 avatar Oct 28 '21 03:10 voidest1

It isn't (yet) exposed directly, but the socket object that TelnetSocket wraps is accessible. You'll want to do c.socket.remoteAddress.

cadpnq avatar Nov 08 '21 11:11 cadpnq