Object reference

Socket

The Socket object, its operations, examples and notes.

Object description

Provides TCP client and server socket operations, WebSocket client connections, synchronous message reads, optional asynchronous connection setup, event callbacks, lifecycle control, timeout and keep-alive configuration, and endpoint inspection.

Object functions