NEAT-project / neat

A New, Evolutive API and Transport-Layer Architecture for the Internet
https://www.neat-project.org/
BSD 3-Clause "New" or "Revised" License
66 stars 19 forks source link

How to port SCTP application using 1-to-many-style API? #324

Closed kuang1521793003 closed 6 years ago

kuang1521793003 commented 7 years ago

I am having an SCTP application using the 1-to-many-style API. The libneat-socketapi seems to be not working in 1-to-many-style mode?

dreibh commented 7 years ago

A 1-to-many-style API (UDP-like) is not supported, yet. For SCTP, it should be quite straightforward to realise this functionality. This would make it easy to port SCTP applications (e.g. RSerPool) to NEAT.

However, it may be useful to think about this functionality in a more generic way, and implement some generic message framing (protocol-independent, i.e. particularly also supporting TCP/MPTCP) into the underlying callback API. Then, a 1-to-many-style sockets API could also be used with TCP/MPTCP.

I suggest to discuss this topic during the NEAT Plenary Meeting in Cork.

naeemk commented 7 years ago

@dreibh: any update from Cork on this?