Changes for version 0.212 - 2023-05-17
- Buf Fix
- Fix the bug that IO::Socket::INET uses IPv6 addrinfo.
- New Features
- Add the IO::Socket::INET6 class.
- Imcompatible Changes
- The default value of Listen option is changed from 5 to -1.
- "Blocking" option is removed from IO::Socket because socket is always non-blocking to work with goroutine.
- Remove socketpair method in IO::Socket class.
- socket method in IO::Socket become protected, and the doc is removed.
- connect, listen, bind, accept methods in IO::Socket become protected, and the docs are removed.
- Remove new_from_instance from IO::Socket, IO::Socket::IP, IO::Socket::Unix.
- fd field in IO::Handle is renamed to FD.
- autoflush field in IO::Handle is renamed to AutoFlush.
- Blocking field is moved from IO::Socket to IO::Handle.
- Remove sysread and sysread method from IO::Handle and IO::Socket.
- trancate method in IO::Handle class throws excetpion. This implementation is moved to IO::File.
- sync method in IO::Handle class throws excetpion. This implementation is moved to IO::File.
Modules
File IO, Sockets, Select/Polling.
File Input/Output
I/O Handling
Select
Socket Communications
IPv4 Sockets
IPv6 Sockets
IPv4/IPv6 Sockets
Short Description
IPv6 Information
Short Description