Skip to content
New issue

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

Add async network/socket capability #13

Open
lewissbaker opened this issue May 27, 2017 · 1 comment
Open

Add async network/socket capability #13

lewissbaker opened this issue May 27, 2017 · 1 comment
Assignees

Comments

@lewissbaker
Copy link
Owner

Extend I/O support to include support for sockets (at least tcp/ip and udp/ip protocols) using winsock and I/O completion ports on top of cppcoro::io_service.

Needs async methods for: accept, connect, disconnect, send/sendto, recv/recvfrom
Ideally also support gather-send and scatter-recv operations.

This will also need some abstraction for dealing with IP address (IPv4 + IPv6).
Need to look into what the networking TS provides towards this.

@lewissbaker
Copy link
Owner Author

I've pushed the beginnings of some socket support for Windows to the 'sockets' branch.
See ddb9486

Still needs:

  • sendto/recvfrom
  • scatter-recv/gather-send
  • socket option settings - timeouts, nagle, etc
  • docs
  • more tests

Thoughts and feedback welcome...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant