TCP & UDP Standard
Full TCP and UDP networking with TCP OPEN/CLOSE/SEND/RECV/LISTEN/ACCEPT and UDP OPEN/CLOSE/SEND/RECV. Build servers, clients, and peer-to-peer applications. Real Win32 socket API (WSAStartup, socket, bind, listen, accept, send, recv).
TCP Client & Server
TCP OPEN PORT n AT host AS #1 TIMEOUT ms creates a client connection. TCP SEND sends a string. TCP RECV #1, count, buf receives up to count bytes. TCP CLOSE releases the socket. TCP LISTEN/ACCEPT for server-side.
UDP - Connectionless
UDP is connectionless - each send specifies the destination address and port; the packed address comes from HOST ADDR. UDP RECV ... FROM addr, port, buf returns the sender address and port. Ideal for discovery, streaming, and lightweight protocols.
HOST ADDR / HOST NAME
HOST ADDR resolves a hostname to a packed IPv4 address. HOST NAME returns the local host name, or performs a reverse lookup when given an address. Both use real gethostbyname/getaddrinfo Win32 APIs.