Moved 'check_ip_ver' function to easysock.c

master
Aadhavan Srinivasan 2 years ago committed by Rockingcool
parent 97b6ec58fd
commit 192e5b7af9

@ -50,5 +50,9 @@ It prints the error returned by 'connect' if something went wrong, and exits wit
int create_remote (int network,char transport,char* address,int port,struct sockaddr* remote_addr_struct);
/* check_ip_ver - This function checks if the given string is an IPv4 address (returns 4),
IPv6 address (returns 6) or neither (returns -1).
int check_ip_ver(char* address);
#endif

Loading…
Cancel
Save