kryonet icon indicating copy to clipboard operation
kryonet copied to clipboard

SCTP via UDP

Open mondain opened this issue 11 years ago • 4 comments

I've not used Kryonet yet, but I know a thing or two about Mina and NIO. This is both a question and possibly an enhancement request. Is there a means for supporting SCTP serialized over UDP or TCP with Kryonet?

IETF draft http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-udp-encaps-09

mondain avatar May 23 '14 20:05 mondain

Sorry, I'm not familiar with SCTP.

-Nate

On Fri, May 23, 2014 at 10:33 PM, Paul Gregoire [email protected]:

I've not used Kryonet yet, but I know a thing or two about Mina and NIO. This is both a question and possibly an enhancement request. Is there a means for supporting SCTP serialized over UDP or TCP with Kryonet?

IETF draft http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-udp-encaps-09

— Reply to this email directly or view it on GitHubhttps://github.com/EsotericSoftware/kryonet/issues/68 .

NathanSweet avatar May 23 '14 20:05 NathanSweet

In a nutshell its another protocol, normally on the same layer as UDP or TCP. However, it's mostly unsupported, so the WebRTC folks are using it tunneled via UDP for their data channels. Oddly enough, SCTP is supported and implemented in OpenJDK. SCTP info here: http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol

mondain avatar May 23 '14 21:05 mondain

You can send any bytes you want with Kryonet.

On Fri, May 23, 2014 at 11:17 PM, Paul Gregoire [email protected]:

In a nutshell its another protocol, normally on the same layer as UDP or TCP. However, it's mostly unsupported, so the WebRTC folks are using it tunneled via UDP for their data channels. Oddly enough, SCTP is supported and implemented in OpenJDK. SCTP info here: http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol

— Reply to this email directly or view it on GitHubhttps://github.com/EsotericSoftware/kryonet/issues/68#issuecomment-44061637 .

NathanSweet avatar May 23 '14 22:05 NathanSweet

So I assume you're not aware of anyone doing this then, by your response. I may take a crack at it with your library; I think mina is too convoluted for this type of thing.

mondain avatar May 23 '14 22:05 mondain