This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Hello, I want to run a Whois server with Async and for debug purposes provide the possibility to output the IP address of the client. How can I find out this? I have an Async Peer and an Async Stream object - how can I find out the IP address of the client? |
Beta Was this translation helpful? Give feedback.
Answered by
ioquatix
Apr 28, 2023
Replies: 2 comments
-
https://rubyapi.org/3.2/o/basicsocket#method-i-remote_address should help you. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marek22k
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://rubyapi.org/3.2/o/basicsocket#method-i-remote_address should help you.