*/
int sockconn(char *host, char *serv, int prot, int type);
int sockbind(char *host, char *serv, int prot, int type);
-int sockbind2(char *host, char *serv, int prot, int type);
+int sockbindopt(char *host, char *serv, int prot, int type, int reuse);
/*
* General purpose functions. See corresponding .c
*/
int endian(void);
+int is_closing(int sock);