summary refs log tree commit diff stats
path: root/install_nimble.nims
diff options
context:
space:
mode:
authorReimer Behrends <behrends@gmail.com>2015-09-14 01:42:46 +0200
committerReimer Behrends <behrends@gmail.com>2015-09-14 01:42:46 +0200
commitb9df1323f7c117f0159e3afb26d5a3de83506f96 (patch)
treed46abec98d3cd70f89b3bb0544a1f36d0bb13d57 /install_nimble.nims
parent148bbee05f31802666dbf1730e0df328ff57a384 (diff)
downloadNim-b9df1323f7c117f0159e3afb26d5a3de83506f96.tar.gz
Provide access to getsockname()/getpeername().
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.
Diffstat (limited to 'install_nimble.nims')
0 files changed, 0 insertions, 0 deletions