b5d9e56cfb
Use RB_SOCKADDR_HAS_SA_LEN instead of SOCKADDR_IN_HAS_LEN which is only defined inside libratbox. This fixes creating own sockaddr structs in other programs using SET_SS_LEN, then passing them to libratbox, on 4.4BSD based systems. |
||
---|---|---|
.. | ||
include | ||
src | ||
.indent.pro | ||
COPYING | ||
CREDITS | ||
ChangeLog | ||
INSTALL | ||
Makefile.am | ||
Makefile.in | ||
README | ||
TODO | ||
acinclude.m4 | ||
aclocal.m4 | ||
config.guess | ||
config.sub | ||
configure | ||
configure.ac | ||
depcomp | ||
install-sh | ||
ltmain.sh | ||
missing |
README
This is libircd from ircd-ratbox. A few notes about this library: 1. Most of this code isn't anywhere near threadsafe at this point. Don't hold your breath on this either. 2. The linebuf code is designed to deal with pretty much 512 bytes per line and that is it. Anything beyond that length unless in raw mode, gets discard. For some non-irc purposes, this can be a problem, but for ircd stuff its fine. 3. The helper code when transmitting data between helpers, the same 512 byte limit applies there as we recycle the linebuf code for this.