I am using netstat to display the open port, but I am wondering when a port is opened is it only when a bind() is invoked in a process, or it is already available and the bind just change its state to listen.I am using netstat to display the open port, bu