Skip to content

Version 0.7 - Non-blocking and Scatter/Gather I/O

Pre-release
Pre-release
Compare
Choose a tag to compare
@fpagliughi fpagliughi released this 06 Oct 15:37
· 113 commits to master since this release

Version 0.7

  • Base socket class
    • shutdown() added
    • create() added
    • bind() moved into base socket (from acceptor)
  • 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() and write_n() now properly handle EINTR return.
  • to_timeval() can convert from any std::chrono::duration type.
  • socket::close() and shutdown() 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