/connect works - although only with IP addresses.

This commit is contained in:
Edward Tomasz Napierala 2017-07-27 14:20:47 +01:00
commit cec68557aa
5 changed files with 165 additions and 6 deletions

View file

@ -36,6 +36,8 @@ GIOChannel *g_io_channel_new(int handle);
/* returns 1 if IPADDRs are the same */
int net_ip_compare(IPADDR *ip1, IPADDR *ip2);
int net_connect_ip_handle(IPADDR *ip, int port, IPADDR *my_ip);
/* Connect to socket */
GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip) G_GNUC_DEPRECATED;
/* Connect to socket with ip address and SSL*/