Packages

object nodeNetMod

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. nodeNetMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Server extends Object with StObject with SendHandle

    This class is used to create a TCP or IPC server.

    This class is used to create a TCP or IPC server.

    Annotations
    @JSType() @JSImport("node:net", "Server") @native()
    Since

    v0.1.90

  2. class Socket extends Object with StObject with SendHandle

    This class is an abstraction of a TCP socket or a streaming IPC endpoint (uses named pipes on Windows, and Unix domain sockets otherwise).

    This class is an abstraction of a TCP socket or a streaming IPC endpoint (uses named pipes on Windows, and Unix domain sockets otherwise). It is also an EventEmitter.

    A net.Socket can be created by the user and used directly to interact with a server. For example, it is returned by createConnection, so the user can use it to talk to the server.

    It can also be created by Node.js and passed to the user when a connection is received. For example, it is passed to the listeners of a 'connection' event emitted on a Server, so the user can use it to interact with the client.

    Annotations
    @JSType() @JSImport("node:net", "Socket") @native()
    Since

    v0.3.4