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

conn: Wishlist for Redo #4474

Closed
miri64 opened this issue Dec 14, 2015 · 8 comments
Closed

conn: Wishlist for Redo #4474

miri64 opened this issue Dec 14, 2015 · 8 comments
Assignees
Labels
Area: network Area: Networking

Comments

@miri64
Copy link
Member

miri64 commented Dec 14, 2015

After a few month of working with conn we found some short-comings to it that need to be fixed in later iterations. This issue tries to collect these.

  • connection-less support for connection-less protocols (goal: easy integration of simple lightweight stacks)
  • connection-bound support for connection-less protocols if stack requires connections (goal: easy integration of full-featured stacks (e.g. lwIP))
  • thread-shared connections (see POSIX sockets: open socket is bound to a specific thread #4388)
  • asynchronous send/receive (select)
  • non-blocking read/write
  • options

... Feel free to add to this

@miri64 miri64 added the Area: network Area: Networking label Dec 14, 2015
@miri64 miri64 added this to the Release 2016.03 milestone Dec 14, 2015
@DipSwitch
Copy link
Member

Non-blocking read/write would be nice aswell :) although this could also be solved with select.

I think however that epoll would be simpler to implement than select, and could also be faster. Aswell as in the kernel / stack implementation as in application implementation.

@miri64
Copy link
Member Author

miri64 commented Dec 20, 2015

epoll sounds indeed nice (and could be implemented as well), but the problem is that most libraries still use select(). So purely from a porting perspective we need to implement it at some point anyway.

@miri64
Copy link
Member Author

miri64 commented Feb 9, 2016

The discussion regarding epoll was also held in #4222.

@kaspar030
Copy link
Contributor

  • remove redundant address family / address length parameters (former implies the latter)
  • UDP needs a way to specify source / target interface for link-local and multicast

@miri64
Copy link
Member Author

miri64 commented Feb 9, 2016

  • remove redundant address family / address length parameters (former implies the latter)

Only valid for IP-only protocols AFAWK, but true.

  • UDP needs a way to specify source / target interface for link-local and multicast

That might be do-able with options for a conn object (setsockopts style). Another feature we might need.

@haukepetersen haukepetersen modified the milestones: Release 2016.07, Release 2016.04 Apr 20, 2016
@haukepetersen
Copy link
Contributor

postponed.

@kYc0o
Copy link
Contributor

kYc0o commented Jul 25, 2016

Postponed again...

@kYc0o kYc0o modified the milestones: Release 2016.10, Release 2016.07 Jul 25, 2016
@miri64
Copy link
Member Author

miri64 commented Oct 17, 2016

Realized in #5758.

@miri64 miri64 closed this as completed Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking
Projects
None yet
Development

No branches or pull requests

6 participants