cascardo/chat.git
16 years agoMakes a TCP connection to given service at server.
Thadeu Lima de Souza Cascardo [Sun, 6 Apr 2008 17:50:59 +0000 (14:50 -0300)]
Makes a TCP connection to given service at server.

This is a synchronous/blocking implementation of a TCP connection. Given
a domain name and service, uses SRV to get server name and port, orders
it, and tries to get server address for each name, trying IPv6 before
IPv4.

16 years agoCode to sort SRV results from udns according to RFC 2782.
Thadeu Lima de Souza Cascardo [Sun, 6 Apr 2008 17:46:40 +0000 (14:46 -0300)]
Code to sort SRV results from udns according to RFC 2782.

16 years agoLicense comes first: GPLv2+.
Thadeu Lima de Souza Cascardo [Sun, 6 Apr 2008 17:46:22 +0000 (14:46 -0300)]
License comes first: GPLv2+.