Refactoring, more tests
This release brings a little bit of renaming, but a lot more functionality!
New features:
select()
is now included, allowing for easy watching of multiple sockets for activity (great for single-threaded servers with keepAlive) #45pipe()
allows for much easier testing, by opening two connected sockets to each other, one reader and one writer #44- SIGPIPE is now never emitted, if you try to write into a peer-closed TCP socket, you'll get a proper error thrown #44
Possible migration:
TCPSocket
was renamed toTCPInternetSocket
to better reflect what it is,TCPSocket
is now a protocol which can be used in many more scenarios (such as locally-connected TCP socket, without having anInternetAddress
)