summaryrefslogtreecommitdiff
path: root/src/core/network.c
AgeCommit message (Expand)Author
2007-11-20Remove unneeded casts.Emanuele Giaquinta
2007-06-10Removed special error==1 handling from net_gethosterror(). It wasn't usedTimo Sirainen
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
2007-05-08Update FSF addressWouter Coekaerts
2006-03-26Removed all srand calls and added a single srand invokation in at startupJochen Eisinger
2006-03-25prefixed all calls to rand() with a call to srand(time(NULL)), so we getJochen Eisinger
2005-11-19When looking up IP addresses, return random IP instead of the first one.Timo Sirainen
2005-10-15Remove the inline declarations, patch by nailbiterValentin Batz
2004-01-28EAI_NODATA is depricated and doesn't exist everywhere anymoreTimo Sirainen
2003-10-11unsigned long -> gsizeTimo Sirainen
2003-10-0664bit fixes by Stefan FentTimo Sirainen
2003-07-09Network fixes. DCC fixes for IPv6 + BSDs.Timo Sirainen
2002-12-10Compiler warning fixTimo Sirainen
2002-11-29and remove outdated comment :)Timo Sirainen
2002-11-29If bind() fails when connecting, don't fallback to default address. ShouldTimo Sirainen
2002-11-28net_gethostbyaddr() was pretty much broken.Timo Sirainen
2002-08-26removed the stupid error-parameters from net_connect*() calls. errno can beTimo Sirainen
2002-05-26net_ip2host() and net_host2ip() now treat any IPv6 IPs as 0.0.0.0, if IPv6Timo Sirainen
2002-05-19net_connect*() contains now error parameter, so it can be used to properlyTimo Sirainen
2002-02-18if gethostbyname() failed, the return value was returned incorrectlyTimo Sirainen
2002-02-17still one isxdigit() -> i_isxdigit()Timo Sirainen
2002-02-10Removed some old backwards compatibility code.Timo Sirainen
2002-01-29..and of course I broke IPv4 net_gethostbyname() with it :)Timo Sirainen
2002-01-29OK, looks like I was doing stupid things with IPv6 hostname lookups :) BackTimo Sirainen
2002-01-29net_gethostbyname() fix for ipv6.Timo Sirainen
2002-01-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
2002-01-04the same #ifdef { parsing problem..Timo Sirainen
2001-12-14net_listen(): when socket() failed because we tried to use IPv6, we shouldTimo Sirainen
2001-11-10net_listen(): if creating IPv6 socket fails because of EPROTONOSUPPORT, tryTimo Sirainen
2001-11-07net_connect(): if bind() fails, set the address back to INADDR_ANY to make su...Timo Sirainen
2001-05-17Getting rid of gettext, moved some _(..) texts to themes and left some errorTimo Sirainen
2001-03-18moved stuff from net-internal.h to network.h. HPUX needed one of theTimo Sirainen
2001-03-14net_listen() works now properly with --enable-ipv6 and a system that doesn'tTimo Sirainen
2001-03-04union { .. } addr removed from IPADDR - it hasn't been actually usedTimo Sirainen
2001-03-04IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory andTimo Sirainen
2001-02-20/SET resolve_prefer_ipv6 - should we prefer IPv6 or IPv4 addresses inTimo Sirainen
2001-02-09/CONNECT, /SERVER: added -4 and -6 options for specifying if we shouldTimo Sirainen
2001-01-18net_getservbyport() - Get name of TCP serviceTimo Sirainen
2001-01-15Fixed some signedness warnings and memdebug.h should compile now fineTimo Sirainen
2001-01-11Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32Timo Sirainen
2001-01-02net_accept(), net_getsockname() IPv6 fixes pointed out by pv2b :)Timo Sirainen
2001-01-02removed the win32 EINPROGRESS define, that wouldn't work anywayTimo Sirainen
2000-12-19security fixes from 0.7.97.2Timo Sirainen
2000-12-08net_receive(), net_transmit(): error handling was buggyTimo Sirainen
2000-12-04Use GIOChannel instead of sockets directly. Helps porting to win32 :)Timo Sirainen
2000-11-11Some sizeof() fixes to IPv6 support when connecting to IPv4 addresses.Timo Sirainen
2000-10-26Win32 updatesTimo Sirainen
2000-10-26Some fixes for compiling with Win32 :)Timo Sirainen
2000-09-27net_gethostbyaddr() fixed.Timo Sirainen
2000-07-29send() - ignore EPIPE return value and just return "0 bytes sent". The brokenTimo Sirainen