davidfowl / BedrockFramework

High performance, low level networking APIs for building custom servers and clients.
MIT License
1.05k stars 153 forks source link

UDP Transport #83

Open Xhanti opened 4 years ago

Xhanti commented 4 years ago

Hi,

I wanted to know if there are any plans to support a UDP transport in this framework?

Regards

jacobslusser commented 4 years ago

I have the same question. It seems like the base abstractions are all geared around connections... which don't lend themselves very well to UDP.

davidfowl commented 4 years ago

Right there's no Udp abstraction as yet. It hasn't been designed

jacobslusser commented 4 years ago

@davidfowl to make sure I understand, do you agree then that the current abstractions are not correct for UDP? i.e. any UDP implementation would not use IConnectionFactory, ConnectionContext, etc?

davidfowl commented 4 years ago

That's correct. The current abstractions are for streaming, connection based transports.

adamradocz commented 2 years ago

UDP transport would be nice to have. How would you start to implement it? Can you give some guidance?

wjkhappy14 commented 2 years ago

nice

davidfowl commented 2 years ago

I’d need to understand more about the goals. What does the proposed API look like? The current API are for a stream based abstraction, not message based.