uHttpSharp icon indicating copy to clipboard operation
uHttpSharp copied to clipboard

HTTP over UDP?

Open seppy87 opened this issue 6 years ago • 3 comments

Hallo,

I am relatively new in the matter. I hope not to offend anyone. But is there a way to make a UdpListener here? I know HTTP is usually over TCP/IP.

My Intention: My work (I respect the LGPL and I will mention your DLL and your site in the About Section extra) communicates over HTTP and It is much easier to make UDP Hole punching than to convince people to open a Port for it.

seppy87 avatar Dec 13 '18 12:12 seppy87

I guess you can try implement IHttpListener in your user code and use it instead of the TCPListener.. good luck, let me know if it works :)

shanielh avatar Dec 13 '18 14:12 shanielh

Sounds like you're trying to create a server that sits behind a domestic home network, correct? If so, UDP won't solve your issues- you'll need to create a relay server or (as you've already mentioned) have your users port forward.

AStopher avatar May 17 '21 12:05 AStopher

There is QUIC which is over UDP.

minecraftchest1 avatar May 04 '22 01:05 minecraftchest1