cascardo/chat.git
15 years agoFixed header protection macro
Thadeu Lima de Souza Cascardo [Sat, 1 Nov 2008 20:30:59 +0000 (18:30 -0200)]
Fixed header protection macro

16 years agoDo not use tabs, only spaces.
Thadeu Lima de Souza Cascardo [Sun, 6 Apr 2008 18:07:13 +0000 (15:07 -0300)]
Do not use tabs, only spaces.

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+.