package netMod
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- netMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait AddressInfo extends Object with StObject
- Annotations
- @JSType() @native()
- trait ConnectOpts extends Object with StObject
- Annotations
- @JSType() @native()
- trait IpcSocketConnectOpts extends Object with StObject with ConnectOpts with SocketConnectOpts
- Annotations
- @JSType() @native()
- type LookupFunction = Function3[String, LookupOneOptions, Function3[|[ErrnoException, Null], String, Double, Unit], Unit]
- trait OnReadOpts extends Object with StObject
- Annotations
- @JSType() @native()
- trait ServerOpts extends Object with StObject
- Annotations
- @JSType() @native()
- class Socket extends Object with StObject
This class is an abstraction of a TCP socket or a streaming
IPCendpoint (uses named pipes on Windows, and Unix domain sockets otherwise).This class is an abstraction of a TCP socket or a streaming
IPCendpoint (uses named pipes on Windows, and Unix domain sockets otherwise). It is also anEventEmitter.A
net.Socketcan be created by the user and used directly to interact with a server. For example, it is returned bycreateConnection, 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 aServer, so the user can use it to interact with the client.- Annotations
- @JSType() @JSImport("net", "Socket") @native()
- Since
v0.3.4
- trait SocketConnectOpts extends Object with StObject
- Annotations
- @JSType()
- trait SocketConstructorOpts extends Object with StObject
- Annotations
- @JSType() @native()
- trait TcpSocketConnectOpts extends Object with StObject with ConnectOpts with SocketConnectOpts
- Annotations
- @JSType() @native()
Value Members
- object AddressInfo
- object ConnectOpts
- object IpcSocketConnectOpts
- object OnReadOpts
- object ServerOpts
- object SocketConnectOpts
- object SocketConstructorOpts
- object TcpSocketConnectOpts
- object ^ extends Object with StObject
- Annotations
- @JSImport("net", JSImport.Namespace) @native()