Include file:
sockobj=socket(hoststr portnum) -- create and open socket object create and open socket object