]> git.sesse.net Git - jam/log
jam
17 years agoAlso read the sources.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 18:22:25 +0000 (19:22 +0100)]
Also read the sources.

17 years agoGeneralize the file reading, and store the IPs in memory.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 18:21:23 +0000 (19:21 +0100)]
Generalize the file reading, and store the IPs in memory.

17 years agoStart parsing the destination list.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 18:15:54 +0000 (19:15 +0100)]
Start parsing the destination list.

17 years agoMake the port configurable.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 17:22:07 +0000 (18:22 +0100)]
Make the port configurable.

17 years agoStart parsing options.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 17:20:22 +0000 (18:20 +0100)]
Start parsing options.

17 years agoSet a much smaller stack size for the worker threads, so we won't easily
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:43:12 +0000 (17:43 +0100)]
Set a much smaller stack size for the worker threads, so we won't easily
run out of stack. Also add a FIXME.

17 years agoFix error detection for pthread_create().
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:37:15 +0000 (17:37 +0100)]
Fix error detection for pthread_create().

17 years agoSet SO_REUSEADDR.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:35:50 +0000 (17:35 +0100)]
Set SO_REUSEADDR.

17 years agoCheck the return value of pthread_create.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:33:45 +0000 (17:33 +0100)]
Check the return value of pthread_create.

17 years agoMake the receiver worker actually handle the socket.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:28:18 +0000 (17:28 +0100)]
Make the receiver worker actually handle the socket.

17 years agoAdd a loop listening for new connections.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:21:26 +0000 (17:21 +0100)]
Add a loop listening for new connections.

17 years agolisten() on the socket.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:08:25 +0000 (17:08 +0100)]
listen() on the socket.

17 years agoBind to the right port.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 16:05:37 +0000 (17:05 +0100)]
Bind to the right port.

17 years agoBegin!
sgunderson@bigfoot.com [Wed, 31 Jan 2007 15:58:59 +0000 (16:58 +0100)]
Begin!