Advertisement

Can I bind more than one port or IP to a socket?

Started by November 12, 2000 09:56 PM
1 comment, last by garywg 24 years, 1 month ago
If I can, how to do it?
You can bind more than one socket to a port, there is no way to bind more than one port to a socket though. INADDR_ANY will allow you to bind to all active IP Addresses on the machine.

-Jon
Advertisement
how can you bind multiple sockets the same ip&port!?


one socket to multiple IPs same Port makes sense...
can you do multiple IPs with different ports?
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement