We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Добавить нумерованные списки для UDP и TCP сокетов, которые будут обозначать причину прихода событий.
Для UDP:
enum class UdpEvent { READ // Posix: siginfo_t{}.si_code = POLL_IN, Windows: FD_READ event , WRITE // Posix: siginfo_t{}.si_code = POLL_OUT, Windows: FD_WRITE event , ERROR // Posix: siginfo_t{}.si_code = POLL_ERR };
Для TCP:
enum class TcpEvent { READ // Posix: siginfo_t{}.si_code = POLL_IN, Windows: FD_READ event , WRITE // Posix: siginfo_t{}.si_code = POLL_OUT, Windows: FD_WRITE event , ACCEPT // Posix: siginfo_t{}.si_code = POLL_IN + isListener, Windows: FD_ACCEPT event , CONNECT // Posix: siginfo_t{}.si_code = ?, Windows: FD_CONNECT(?) event , DISCONNECT // Posix: siginfo_t{}.si_code = POLL_HUP (?), Windows: FD_CLOSE event , ERROR // Posix: siginfo_t{}.si_code = POLL_ERR }
И в очередях для сокетов поправить тип: сокет заменить на пару сокет+событие
Ссылки: Posix (si_code for a SIGIO/SIGPOLL signal), WinAPI (lEvent parameter description)
The text was updated successfully, but these errors were encountered:
kachsheev
No branches or pull requests
Добавить нумерованные списки для UDP и TCP сокетов, которые будут обозначать причину прихода событий.
Для UDP:
Для TCP:
И в очередях для сокетов поправить тип: сокет заменить на пару сокет+событие
Ссылки: Posix (si_code for a SIGIO/SIGPOLL signal), WinAPI (lEvent parameter description)
The text was updated successfully, but these errors were encountered: