New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncat cannot listen to multiple UDP clients #1223

pronebird opened this Issue May 23, 2018 · 0 comments


None yet
1 participant

pronebird commented May 23, 2018


I have a simple program that sends a message to UDP port. I'd like to use ncat to monitor it. The program itself opens a new UDP connection each time it sends a new message, so it seems that ncat is not able to handle multiple clients at the same time since I only see the message received from the very first client and only once.

ncat -ul 1234

After showing the first message, ncat hangs. If I hit enter it prints out:

Ncat: An existing connection was forcibly closed by the remote host

In case of macOS and netcat everything works fine with a very small timeout, i.e: nc -ul 1234 -w 1, same trick doesn't work with ncat though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment