Non-blocking service to receive messages on port via UDP

Posted by stUrb on Server Fault See other posts from Server Fault or by stUrb
Published on 2012-06-24T14:15:05Z Indexed on 2012/06/24 15:17 UTC
Read the original article Hit count: 132

Filed under:

I want to build a service on my Linux VPS which listens to a certain UDP port and does something with the (text)message which is captured. This processing consists of appending the message to a locally stored txt-file and send it as http, with a post variable to another server.


I've looked into Nginx but as far is can see this server can only be bound to receive http packets. Although it is asynchronous.

What is the best way to achieve this listening-service on linux? And which has the capabilities to do the above mentioned processing?

© Server Fault or respective owner

Related posts about linux