openSock(port)
Open a sock in listening mode on given port number. sdlBasic allow 256 sock streams, conceptually sock handling is similar to sdlBasic file handling.
Syntax:
sock
= openSock(
port
)
Example: