68 Commits (337dbc392253af92b0577da062a5abc1d032b1ef)

Author SHA1 Message Date
  Pierre Ossman 337dbc3922 Return std::string instead of dynamic allocations 1 year ago
  Pierre Ossman 334398153b Better fallback for missing peer address 1 year ago
  Pierre Ossman 5c1ac16776 Return static char buffer from some methods 1 year ago
  Pierre Ossman 7f20bff356 Remove unneeded CharArray:s 1 year ago
  Pierre Ossman cbe0ddc28c Free memory from getaddrinfo() 3 years ago
  Pierre Ossman d7a61c7df3 Generalise corking to all output streams 4 years ago
  Alex Tanskanen e52923415e Throw GAIException() for getaddrinfo errors 4 years ago
  Alex Tanskanen 01ca961b0c Fix typo in SocketException message 4 years ago
  Jan Grulich feca1d3dd0 Use empty address buffer when sockaddr sa_family is not what we want 5 years ago
  Pierre Ossman 559e8b8854 Merge common socket code 6 years ago
  Pierre Ossman d7bbbbf07f Remove unused code from socket classes 6 years ago
  Pierre Ossman e3a2be69c4 Use abstract SocketListener class 6 years ago
  Peter Åstrand (astrand) 01dc1a67dc Define cork() as pure virtual in Socket class 6 years ago
  Tristan Schmelcher fc1599b95f Fix race problem with detecting listening inetd sockets 12 years ago
  Tristan Schmelcher e5afb92cb9 Fix race problem with detecting listening inetd sockets 12 years ago
  Pierre Ossman 398a6f4332 Init socket subsystem before parsing filters 8 years ago
  Pierre Ossman f7aa3f9bd3 Return TcpListener pointers rather than objects 8 years ago
  Pierre Ossman 7ebce75912 Return correct error code from bind() 8 years ago
  Pierre Ossman 467df2ad33 Don't leak socket on setsockopt() errors 8 years ago
  Pierre Ossman b7e5574a3a Log which addresses connection attempts are made against 8 years ago
  Pierre Ossman 5a126667a3 Properly report connect error codes 8 years ago
  Pierre Ossman 056c153209 Clarify Windows SO_REUSEADDR exception 9 years ago
  Pierre Ossman b6536e250a Repair SO_REUSEADDR 9 years ago
  Pierre Ossman cfb21169c4 Require getaddrinfo() on all systems 9 years ago
  Pierre Ossman f7d15000ff Do not look at errno for getaddrinfo() errors 9 years ago
  Pierre Ossman 3ab5db4384 Replacement for dup() on Windows 9 years ago
  Pierre Ossman 57cab51d83 Resurrect TcpListener::getMyAddresses() 9 years ago
  Pierre Ossman 9d78440b83 Make sure Win32 sockets are available in new listening API 9 years ago
  Pierre Ossman a6570c5da3 AI_NUMERICSERV is not available on some systems 9 years ago
  Pierre Ossman 2f744170d4 Make sure socket errno defines are available for Win32 9 years ago
  Pierre Ossman fdc55e54cc family variable can be unset when matching any address 9 years ago
  Tim Waugh c24a64d90d IPv6 support for TcpFilter. 9 years ago
  Tim Waugh 892d10a705 Fixed IPv6 support. 9 years ago
  Tim Waugh a85363daa8 Whitespace changes only. 9 years ago
  Pierre Ossman eb95532f5c Remove unused variables 9 years ago
  Pierre Ossman da9a38d4e9 Handle no useful address types from getaddrinfo() 9 years ago
  Pierre Ossman f1a3501750 The compiler cannot figure out if this is assigned properly 9 years ago
  Pierre Ossman 39b3b8f575 Add parameters to force IPv4/IPv6 selection 9 years ago
  Tim Waugh e4d9726c19 IPv6: create new socket if IPv6 bind fails (#77). 9 years ago
  Pierre Ossman 8e101704c3 Fix setsockopt() call on Windows 9 years ago
  Pierre Ossman 07cd2298dc Protect IPv6 address strings with [] 9 years ago
  Pierre Ossman 14263e17e4 Don't assume that it's IPv4 just because it's not IPv6 9 years ago
  Pierre Ossman f1665ac7fb inet_ntoa() want's the address directly, not a pointer to it 9 years ago
  Tim Waugh 6ae42df651 TcpSocket: IPv6 handling throughout (#68). 9 years ago
  Tim Waugh 698371a650 Added more #ifdefs for IPv6. 9 years ago
  Tim Waugh 6abf3f4c87 IPv6 loopback support too. 9 years ago
  Tim Waugh 4561f7e9c6 Add IPv6 support (#68). 9 years ago
  Pierre Ossman 5ad4d06006 Remove a lot of platform compatibilty stuff 10 years ago
  Pierre Ossman 8b6aa200ce Windows lacks the IN6_ARE_ADDR_EQUAL macro, so define it ourselves 11 years ago
  Pierre Ossman 64069a92ef Expose Linux' cork functionality which allows us to aggregate TCP data in a 12 years ago