Commit message (Collapse)AuthorAgeFilesLines
* Reintroduce socklen_tHEADmasterH. Peter Anvin2011-11-231-1/+2
| | | | | | | It really should be socklen_t; this is starting to smell a lot like autoconf :( Signed-off-by: H. Peter Anvin <>
* Add a BSD header preambleH. Peter Anvin2011-01-171-0/+27
* Basic porting to Windows (works with MinGW32, at least)ipxrelay-0.2H. Peter Anvin2011-01-162-34/+62
| | | | | Attempt to use MinGW32 to port to Windows. This is a static port, since autoconf seems to be too busted for our purposes.
* Use a socket timeout instead of an itimerH. Peter Anvin2011-01-161-36/+21
| | | | | Use a socket timeout instead of an itimer. This makes the code simpler, and hopefully easier to port (to Windows, especially).
* Add Makefile; call this version 0.1ipxrelay-0.1H. Peter Anvin2010-12-302-1/+31
* Move cleanup_timeouts() to head of loop and before transmitH. Peter Anvin2010-12-301-30/+34
| | | | | | | | | | | | | | Move cleanup_timeouts() to the head of the loop, so we can use continue instead of goto; this is a cleanup. Also add a cleanup_timeouts() before we walk the client list, that way we avoid spending effort sending data to already-dead clients. This relies on the fact that cleanup_timeouts() can only remove clients from the tail end of the list and otherwise leaves the list order undisturbed. This may mean we execute cleanup_timeouts() twice on the same data, but that is a very cheap operation, so it doesn't matter.
* Simple IPX relay serverH. Peter Anvin2010-12-301-0/+474