Replies: 2 comments 2 replies
-
@waml Rivet Cloud (this repository) supports UDP for low-level containers, but it's currently not integrated in to RivetKit (our framework that we recommend developers use). RivetKit supports WebSockets and SSE. Where did you run across UDP support? |
Beta Was this translation helpful? Give feedback.
-
got excited thought i could have my own cloudflare workers with udp support Wih Cloudflare Worker "fully" connected UDP socket connect() on a connectionless socket will just set the default destination address and refuse to receive packets from anything other than this destination address. It uses no connection setup and you can still send packets to other destinations. The cloudflare worker UDP example is just waiting for a package on an ipv6 port, and then creates an a new UDP socket on the same listening port using the ipv4 interface. It does not accomplish anything like accept() As this would require redirecting each incoming client to a new (common or unique) listening port. so i was wondering if Rivetts solved this and allowed self hosting on cloudflare workers some how. does this mean it works at least on rivet cloud ? what do you mean by low level containers? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
can we see some code example of UDP manipulation and listening to UDP packets?
also can it run on cloudflare DO ?
Beta Was this translation helpful? Give feedback.
All reactions