next up previous contents index
Next: Nástroje logování Up: Sí»ové funkce Previous: Sí»ové funkce

Komentovaný seznam sí»ových funkcí

/* Ète data ze socketu src a posílá je na socket dest */

int net_readwritesock(int src,int dest)

 

/* Posílá HTTP hlavièku na WWW server */

int net_sendsrvheader(request_cl *cl_req);

 

/* Na socket sock po¹le øetezec message */

size_t net_sendtosocket(int sock,char *message);

 

/* Pøipojí se na server srvhost na port srvport a vrátí socket srvsock */

int srv_connect(int *srvsock ,char *srvhost, long srvport);

 

/* Akceptuje po¾adavek na socketu sock a vratí cl_sock */

int net_connaccept(int sock, int *cl_sock, struct sockaddr_in *cl_addr_in);

/*  Na socket sock po¹le otevøený soubor file */

int net_sendfile(int sock,int file);

/* Pøeète num bytes ze socketu src do buf */

int net_readbytes(int src,long int num,unsigned char *buf)

/* Zapí¹e num bytes z buf do socketu dest */

int net_writebytes(int dest,long int num,unsigned char *buf)



Stanislav Pavlicek
2000-06-12