u8 socketOpen (u8 socketNum, u16 port)
|socketNum : The socket number (0~3)|
|port: TCP port|
|Returns 1 if successful, 0 otherwise|
Opens a socket, socketNum, on the TCP port, port. Port can be any number from 0 through 65,535.
NOTE: Any socket opened with a call to socketOpen must eventually be closed with a call to socketClose. The Ethernet module is not reset when the CPU module is reset, so, it may be necessary to call socketClose at the beginning of a program to be sure the socket is closed before it is used.