diff options
author | boopcat <actually.boop@gmail.com> | 2015-05-30 11:01:15 +0000 |
---|---|---|
committer | boopcat <actually.boop@gmail.com> | 2015-05-30 11:01:15 +0000 |
commit | af07db28297e0d4d03a1c1e64da524b0119d62fe (patch) | |
tree | 999a2979f5fe8208c3f5796078135dfaf4085467 /compiler | |
parent | 6820b2fea919c033405e7e204343fddd947c2ef3 (diff) | |
download | Nim-af07db28297e0d4d03a1c1e64da524b0119d62fe.tar.gz |
Export newSocket(fd) from net.nim and standardize args in net/asyncnet
Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your own socket FD. newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of "isBuff" and defaults to true to match the other constructors on both.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions