I'm doing some code testing and one aspect is I need an active UDP Server. I've tried looking online how to install one and haven't had much luck.
My only requirement is a UDP Server which I can connect to with my code and retrieve a simple response.
I'm using Ubuntu 16.04 Xenial.
Can someone please assist in this.
My quesiton is to provide a UDP Server i can use.
I see Arcserve UDP Agent (Linux) but not sure because that might be for backups
I also see netcat but how do i send a response? Thanks!
UPDATE
Here is what Ive tried:
root@ubuntuT:/home/jon/gocode/udpserv# echo "pingpong" | nc -u 127.0.0.1 -l 12345 &
[5] 36067
root@ubuntuT:/home/jon/gocode/udpserv# curl http://127.0.0.1:12345
curl: (7) Failed to connect to 127.0.0.1 port 12345: Connection refused