diff options
author | Reimer Behrends <behrends@gmail.com> | 2015-09-14 01:42:46 +0200 |
---|---|---|
committer | Reimer Behrends <behrends@gmail.com> | 2015-09-14 01:42:46 +0200 |
commit | b9df1323f7c117f0159e3afb26d5a3de83506f96 (patch) | |
tree | d46abec98d3cd70f89b3bb0544a1f36d0bb13d57 /install_nimble.nims | |
parent | 148bbee05f31802666dbf1730e0df328ff57a384 (diff) | |
download | Nim-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