X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FSockUtil.c;h=af3a3f7c59990b0ff43853efd16ece5dc3549ac0;hp=a2a6fcdb295665a0828db434656c3bbf2e20e812;hb=b72f6c959549091bc7d5d5a55d8486c446ec2aaf;hpb=0533192662934e0137c96f09c11ecc8d08a9131a diff --git a/sources/SockUtil.c b/sources/SockUtil.c index a2a6fcd..af3a3f7 100644 --- a/sources/SockUtil.c +++ b/sources/SockUtil.c @@ -1,4 +1,4 @@ -/* Sockutils.c +/* SockUtil.c * * Copyright (C) 2004 Simone Piccardi * @@ -18,26 +18,22 @@ */ /*************************************************************** * - * File SockUtils.c + * File SockUtil.c * Routines for socket operations. * * Define routines for socket handling * * Author: S. Piccardi * - * $Id$ - * ***************************************************************/ -#include -#include /* standard I/O functions */ -#include -#include -#include -#include -#include -#include -#include -#include +#include /* primitive system data types */ +#include /* standard I/O library */ +#include /* unix standard library */ +#include /* C strings library */ +#include /* error definitions and routines */ +#include /* socket constants, types and functions */ +#include /* IP addresses conversion utilities */ +#include /* C resolver library */ #include "macros.h" /************************************************************************** @@ -50,8 +46,6 @@ * Author: Simone Piccardi * Dec. 2004 * - * $Id$ - * **************************************************************************/ char *ip_ntop(struct addrinfo *addr, char *dst, socklen_t cnt) { @@ -82,8 +76,6 @@ char *ip_ntop(struct addrinfo *addr, char *dst, socklen_t cnt) * Author: Simone Piccardi * Dec. 2004 * - * $Id$ - * ****************************************************************/ int sockconn(char *host, char *serv, int prot, int type) { @@ -140,8 +132,6 @@ int sockconn(char *host, char *serv, int prot, int type) * Author: Simone Piccardi * Dec. 2004 * - * $Id$ - * ****************************************************************/ int sockbind(char *host, char *serv, int prot, int type) { @@ -202,8 +192,6 @@ int sockbind(char *host, char *serv, int prot, int type) * Author: Simone Piccardi * Mar. 2005 * - * $Id$ - * ****************************************************************/ int sockbindopt(char *host, char *serv, int prot, int type, int reuse) {