Updated definition for 'create_remote' function

master
Aadhavan Srinivasan 2 years ago
parent f26e83b835
commit 0647b2570f

@ -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

Loading…
Cancel
Save