socket();

socket();

Function name

Description

Function name

Description

socket(CLOSE,...);

Closes socket (internet connection).

socket(CREATE_TCP,...);;

Create TCP socket by defining domain/ip address and port number.

socket(CREATE_UDP,...);

Create UDP socket by defining domain/ip address and port number.

socket(READ,....);

Reads socket buffer.

socket(SEND,....);

Sends buffer data to socket.

socket(STATUS,....);

Gets socket status.