cosmopolitan/test/libc/sock
Justine Tunney 49b0eaa69f
Improve threading and i/o routines
- On Windows connect() can now be interrupted by a signal; connect() w/
  O_NONBLOCK will now raise EINPROGRESS; and connect() with SO_SNDTIMEO
  will raise ETIMEDOUT after the interval has elapsed.

- We now get the AcceptEx(), ConnectEx(), and TransmitFile() functions
  from the WIN32 API the officially blessed way, using WSAIoctl().

- Do nothing on Windows when fsync() is called on a directory handle.
  This was raising EACCES earlier becaues GENERIC_WRITE is required on
  the handle. It's possible to FlushFileBuffers() a directory handle if
  it's opened with write access but MSDN doesn't document what it does.
  If you have any idea, please let us know!

- Prefer manual reset event objects for read() and write() on Windows.

- Do some code cleanup on our dlmalloc customizations.

- Fix errno type error in Windows blocking routines.

- Make the futex polyfill simpler and faster.
2023-10-12 23:13:04 -07:00
..
connect_test.c Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
inet_ntoa_test.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntop_test.c Fix inet_ntop(AF_INET6) buffer length (#582) 2022-09-03 22:46:45 -07:00
inet_pton_test.c Implement inet_pton for AF_INET6 (#583) 2022-08-31 15:14:42 -07:00
nonblock_test.c Make improvements 2023-10-08 08:59:53 -07:00
recvfrom_test.c Make improvements 2023-10-08 08:59:53 -07:00
select_test.c Clean up some code 2023-10-11 11:45:31 -07:00
sendfile_test.c Make improvements 2023-09-18 21:04:47 -07:00
sendrecvmsg_test.c Fix warnings 2023-09-01 20:50:18 -07:00
setsockopt_test.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
socket_test.c Improve threading and i/o routines 2023-10-12 23:13:04 -07:00
socketpair_test.c Unbloat the build 2022-08-11 00:15:29 -07:00
test.mk Make improvements 2023-09-18 21:04:47 -07:00
unix_test.c Make improvements 2023-09-18 21:04:47 -07:00