WYRDTEK Home Features Reference Downloads About


Reference/es_sock_tcpinit

Syntax

int es_sock_tcpinit( int *fd );

Arguments

int *fd Assigned file-descriptor result. Passed by reference.

Description

Constructs new tcp/ip socket and assigns file descriptor to fd, passed by reference.

Returns zero on success and returns errno (from the standard library errno.h) on error.

[Back To Reference] [Back To Reference/es_sock]