Commit Graph

23 Commits

Author SHA1 Message Date
Michael Davidsaver a2d2721385 test SockEndpoint parsing 2023-08-02 17:20:13 -07:00
Michael Davidsaver 5897fe273e fix intermittent of testsock
Switch to blocking socket, with poll()ing for expected RX failures.
2023-04-14 10:14:30 -07:00
Michael Davidsaver 8333ce30ec re-define user bufferevent limits in terms of OS buffer size 2022-10-14 10:20:51 -07:00
Michael Davidsaver e809da219d evsocket::ipstack 2022-04-05 07:57:16 -07:00
Michael Davidsaver 1be0477ee6 evsocket::canIPv6 once 2022-04-05 07:57:16 -07:00
Michael Davidsaver 8e56972dbc testsock check bind() order behavior for ipv4/6 2022-04-05 07:57:16 -07:00
Michael Davidsaver df4289b4e6 IPv6+mcast support 2022-04-05 07:57:16 -07:00
Michael Davidsaver f67f27e96b Portable capture of destination interface and IP address
Use recvmsg() and control messages IP_PKTINFO (Linux, OSX, Windows)
or IP_ORIGDSTADDR and IP_RECVIF (RTEMS w/ libbsd) to find the
index of the logical interface through which a UDP packet was received,
and the destination address from the IPv4 header.

Also, clear IP_MULTICAST_ALL on Linux to disable non-compliant legacy brokenness
and receive only those multicasts we are interested in.
2022-04-05 07:57:16 -07:00
Michael Davidsaver 7a9d5cb6ab WIN32: SetErrorMode(0) 2020-06-16 16:39:00 -07:00
Michael Davidsaver 2d075cbc1c testsock show errno 2020-05-22 09:17:22 -07:00
Michael Davidsaver e2513db4d9 MSVC need osiSockAttach() 2020-03-31 13:07:50 -07:00
Michael Davidsaver d452e009ce libevent 2.0 compat 2020-03-20 09:23:06 -07:00
Michael Davidsaver c0c7348e89 fixup FixedBuf usage 2019-12-16 09:01:16 -08:00
Michael Davidsaver 92c513d6dd de-templateize xcode 2019-12-10 19:28:54 -08:00
Michael Davidsaver 801d295c1f start PVD 2019-12-10 17:56:40 -08:00
Michael Davidsaver 083bad3e28 redo namespaces 2019-11-19 16:08:03 -08:00
Michael Davidsaver bab82affb8 redo packet build/parse
now with evbuffer
2019-11-19 16:06:43 -08:00
Michael Davidsaver 84ac6ed091 move sockaddr wrapper to public API 2019-10-24 10:38:25 -07:00
Michael Davidsaver 8c40929e5c all sorts of changes 2019-10-23 13:29:31 -07:00
Michael Davidsaver 5301785233 drop sockaddr_storage 2019-10-22 18:27:53 -07:00
Michael Davidsaver e125fdf990 fixup (de)serialize 2019-10-21 16:27:47 -07:00
Michael Davidsaver 068b12bd99 fixup 2019-10-20 19:37:08 -07:00
Michael Davidsaver 466044d6a5 initial 2019-10-19 20:17:39 -07:00