mirror of
https://github.com/nim-lang/Nim.git
synced 2026-09-08 06:27:26 +00:00
This patch implements procedures getLocalAddr() and getPeerAddr() that return the results of getsockname() and getpeername(), respectively, as pairs (string, Port) for both Socket and SockedHandle.