Assuming that
1) there's a running server on the specified node;
2) if you specify the node by name, the client's /etc/hosts
contains a mapping of the name to the correct IP address;
3) the server is listening on the specified port;
then yes, that is sufficient to establish a connection.
On 4/29/19 7:20 AM, Mohamed Khalil BOUJDARIA via gtkmm-list wrote:
> Hello list,
>
> Is the connect_to_host in Gio::SocketClient helper function enough to
> establish a TCP/IP connection ?
> It worked only on localhost server. But when i tried to connect to
> another computer on the same network it gets stuck.
>
> Thanks.
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list