UDP Listener
Maxim Dounin
mdounin at mdounin.ru
Thu Jan 31 14:37:50 UTC 2013
Hello!
On Thu, Jan 31, 2013 at 11:56:12AM +1030, SplitIce wrote:
> Ive been working on my first nginx module (well more specifically, a fork
> of an existing module with permission).
>
> Pretty close to done however found one thing thats lacking in the nginx
> core (as far as I can tell). UDP Listening.
>
> There is support for UDP sockets, so sending of UDP data is fine. Howeaver
> binding and listening seems to be full of hardcoded TCP related stuff.
>
> Is this correct or am I just doing it wrong?.
This is correct - there is no UDP listening in nginx.
On the other hand, it shouldn't be hard to implement it even
directly in your module, much like UDP client connection code
(ngx_udp_connect) is currently implemented in resolver.
--
Maxim Dounin
http://nginx.com/support.html
More information about the nginx-devel
mailing list