mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 20:10:44 +00:00
Stream sockets listen, accept and connect between guest sockets on 127.0.0.1 inside the runtime; no host socket is opened. Each socket buffers up to 64 KiB, send takes what fits, recv returns 0 at end of file after shutdown(SD_SEND) or closesocket, and sending to a closed peer reports WSAECONNRESET. WSAPoll reports listen-queue readiness, write space and POLLHUP. TCP and UDP ports are separate namespaces. Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com>