 | | When writing server processes, remember that the host on which the process is running may have more than one network interface and, therefore, more than one network address. To handle this, you can create more than one socket and bind a name to each socket, using the same value for sin_port, and different values for sin_addr, for each socket. An easier way is to use the wildcard address INADDR_ANY in the sin_addr element; this will allow a single socket to receive data from all network interfaces. | |
|