IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: Nightly
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

tcp

Provides TCP sockets.

Modules​

  • ​listener: Provides TCPListener, a TCP socket that listens for connections.
  • ​option: Provides the options that TCP sockets accept.
  • ​socket: Provides TCPSocket, a TCP socket to configure before it listens or connects.
  • ​stream: Provides TCPStream, a TCP connection.