]> git.sesse.net Git - jam/log
jam
17 years agoActually send (random) data.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 21:47:10 +0000 (22:47 +0100)]
Actually send (random) data.

17 years agoMake a special "listen-only" mode.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 20:40:32 +0000 (21:40 +0100)]
Make a special "listen-only" mode.

17 years agoCreate threads in a detached state.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 20:36:45 +0000 (21:36 +0100)]
Create threads in a detached state.

17 years agoTweak the output a bit.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 20:30:41 +0000 (21:30 +0100)]
Tweak the output a bit.

17 years agoMake the sender a bit less dumb.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 20:24:37 +0000 (21:24 +0100)]
Make the sender a bit less dumb.

17 years agoAdd a Pareto random number generator.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 20:13:08 +0000 (21:13 +0100)]
Add a Pareto random number generator.

17 years agoAdd an option for setting the number of senders.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 19:44:19 +0000 (20:44 +0100)]
Add an option for setting the number of senders.

17 years agoStart firing off sender workers.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 19:42:13 +0000 (20:42 +0100)]
Start firing off sender workers.

17 years agoWrite a friendly "we're ready" message.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 19:39:15 +0000 (20:39 +0100)]
Write a friendly "we're ready" message.

17 years agos/file/list/ in the options.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 18:40:25 +0000 (19:40 +0100)]
s/file/list/ in the options.

17 years agoCheck for empty source or destination list.
sgunderson@bigfoot.com [Wed, 31 Jan 2007 18:27:36 +0000 (19:27 +0100)]
Check for empty source or destination list.

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!