Version 0.7 - Non-blocking and Scatter/Gather I/O
Pre-release
Pre-release
Version 0.7
- Base
socket
classshutdown()
addedcreate()
addedbind()
moved into base socket (fromacceptor
)
- Unix-domain socket pairs (stream and datagram)
- Non-blocking I/O
- Scatter/Gather I/O
stream_socket
cloning.- Set and get socket options using template types.
stream_socket::read_n()
andwrite_n()
now properly handle EINTR return.to_timeval()
can convert from anystd::chrono::duration
type.socket::close()
andshutdown()
check for errors, set last error, and return a bool.- tcpechomt.cpp: Example of a client sharing a socket between read and write threads - using
clone()
. - Windows enhancements:
- Implemented socket timeouts on Windows
- Fixed bug in Windows socket cloning.
- Fixed bug in Windows
socket::last_error_string
. - Unit tests working on Windows
- More unit tests