Behaviour of network in these cases
Shawn Silverman <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
I have some questions regarding the network: Case 1: Say the "eth0" is the current default interface, and say a server socket is listening on port 80. What happens to the server socket when another interface, say "ppp0", is made the default? Will this interrupt the server socket underneath the covers somehow? What happens if "eth0" is then reset to be the default interface? Will this affect things? Case 2: Say a server socket is listening on port 80, and then the IP address is changed. Are server sockets bound to a particular IP address? What about the subnet mask? Will changing this while a server socket is listening affect the server socket? Case 3: Is PPP server supposed to vend a subnet mask? I've seen a case where the mask becomes 255.0.0.0 after a connection is made, and there were some problems sending data over this interface. Should I always set the subnet mask to 255.255.255.255 just to be on the safe side? Setting the mask to 255.255.255.255 in this case fixed the transmission problems. If I have to set it, and if I have to restore "eth0", will I then have to reset it back to what it was before? I'm trying o minimize my housekeeping. Thanks, -Shawn _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini