From dbc838aa50566d7de829129d6ee756eae9e63603 Mon Sep 17 00:00:00 2001 From: Rockingcool Date: Fri, 24 Feb 2023 22:06:54 -0600 Subject: [PATCH] Updated definition for 'create_remote' function --- easysock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easysock.h b/easysock.h index 9297177..19847ad 100644 --- a/easysock.h +++ b/easysock.h @@ -44,11 +44,11 @@ int create_local (int network, char transport, char* address, int port,struct so /* This function utilizes the same functions as 'create_local' but _connects_ to the requested address. It is used for remote sockets (client sockets). The paramters are same -as above. +as above. This function needs an empty 'sockaddr *' structure passed to it, which it will fill. 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); +int create_remote (int network,char transport,char* address,int port,struct sockaddr* remote_addr_struct); #endif