-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Paul Howarth wrote:
| No, you've been setting up TCP sockets. If you do it with UDP sockets | (nc -l -u -p 1234) you can have multiple listeners, and they don't have | to be the same process or even started by the same user.
My mistake :-/ You're completely right. Rerunning that test with -u gives both listening.
[root@server html]# netstat -plutn | grep 1234 udp 0 0 0.0.0.0:1234 0.0.0.0:* ~ 19122/nc udp 0 0 0.0.0.0:1234 0.0.0.0:* ~ 19121/nc
It's not loadbalancing either -- only the last guy to listen gets all the traffic sent on the port.
Hum.
- -Andy
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFCU+4ZjKeDCxMJCTIRArShAJ0XxcLXfYHO8XSw8lc/v2an+3vPFACeM9FZ D0Xfx6vcSRozt49mfJmHg4c= =6e31 -----END PGP SIGNATURE-----