Die Funktion : socket()



Funktionsprototyp:

int socket(int type, int format, int protocol);

Effekt :
Erzeugt eine neue Socket.

Includes :

#include <sys/types.h>
#include <sys/socket.h>

Parameter :

Rückgabe :

Socket-Deskriptor für die folgende Kommunikation zwischen Server und Client oder -1 bei Fehler.

back next