It is my understanding that sockets bound to ports using localhost will not be visible to the subnet because the binding is not with the nic IP address. Local processes connecting to such port will create a unix pipe instead of an IP socket. However if bound to the nic IP address the port is visible to the subnet. I want to learn the types of connections made when connecting to ports bound to localhost and the nic IP.** Port bound to localhost **local process connect using localhost creates a unix pipelocal process connect using nic IP creates a unix pipeforeign process connect using nic IP cannot connect** Port bound to nic IP **local process connect using localhost creates a unix pipelocal process connect using nic IP creates an IP socketforeign process connect using nic IP connects and creates an IP socketAre the above statements correct? I am reviewing network programming from this site:http://beej.us/guide/bgipc/output/html/multipage/unixsock.htmlin hopes of more insight.
Socket connect to a ports bound to IP vs localhost
socket;bind