CreateSocket (open)

Creates a new socket

Syntax

LOADLIB "wh::internet/tcpip.whlib";

OBJECT FUNCTION CreateSocket(STRING type)

Parameters

STRING type

Type of socket, "TCP" or "UDP"

Return value

OBJECT
Possible objecttypes:

New socket