Commit Graph

13 Commits

Author SHA1 Message Date
Alexandre Ratchov a268087ed6 sync to openbsd (s/fprintf/errx, usage, etc) 2012-08-30 10:04:20 +02:00
Alexandre Ratchov 1247c187a7 s/unsigned/unsigned int/g, requested by deraadt 2012-04-11 09:21:29 +02:00
Alexandre Ratchov 2d72ee38d1 Don't spin if accept() fails because it is out of file descriptors,
instead set a flag that skips the listening socket from the poll()
event loop. The flag is cleared whenever a file descriptor is closed
allowing accept() to be retried.
Explained by deraadt@
2012-03-29 22:13:49 +02:00
Alexandre Ratchov 71980f4d34 Cleanup:
- stream definitions (-ios) now must follow devices definitions they
  are attached to (-fMn).
- the -n option is now a special "loopback" device and is thus used
  like -f, eg it must precede streams
- channel numbers (-Cc options) correspond always to channel numbers
  of the hardware.
- removed -u option (not needed anymore)
2011-10-05 13:21:01 +02:00
Alexandre Ratchov 8e25c4c95f include "bsd-compat.h" unconditionally 2011-05-06 14:11:18 +02:00
Alexandre Ratchov 1cda5b83e3 replace '*' -> '-' as address to listen to and document it 2011-05-03 21:36:52 +02:00
Alexandre Ratchov 32a1e3d36e use TCP_NODELAY 2011-04-28 08:10:14 +02:00
Alexandre Ratchov b0d03532fc use sig_atomic_t in signals 2011-04-28 00:41:43 +02:00
Alexandre Ratchov 9c6c106593 dont include file.h twice 2011-04-18 15:38:48 +02:00
Alexandre Ratchov 7983ad0a92 allow '*' to be used as 'any address' 2011-04-18 15:25:19 +02:00
Alexandre Ratchov 3f1215502b add TCP transport 2011-04-18 12:14:27 +02:00
Alexandre Ratchov a17607cf7a add initial alsa support from jakemsr 2010-08-19 23:00:06 +02:00
Alexandre Ratchov f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00