diff --git a/easysock.h b/easysock.h index 98927f4..5d06e4e 100644 --- a/easysock.h +++ b/easysock.h @@ -1,7 +1,13 @@ +#ifndef EASYSOCK_H_ +#define EASYSOCK_H_ + #include #include #include #include +#include +#include + /* This function takes: a layer 3 - network layer - integer, which must be '4' for IPv4 @@ -41,4 +47,8 @@ requested address. It is used for remoet sockets (client sockets). The paramters as above. It prints the error returned by 'connect' if something went wrong, and exits with error code '-3'.*/ + int create_remote (int network,char transport,char* address,int port); + + +#endif