I am trying to have a PHP3 script open a connection to a certain port and then pass commands to the port and look for responses after those commands have been issued, I can't figure out how to do this? Anyone that can send me some sample code I would greatly appreciate it.