#ifndef _SOCKHELP_H_
#define _SOCKHELP_H_
+
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
int sock_write(int sockfd, const char *buf, size_t count);
int sock_gets( int sockfd, char *str, size_t count );
int sock_puts(int sockfd, const char *str);
+int conn(const char *host, int port, const char *lhost, int lport);
void ignore_pipe(void);
#endif