object nodeNetMod
- Alphabetic
- By Inheritance
- nodeNetMod
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
- 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 anEventEmitter
.A
net.Socket
can 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("node:net", "Socket") @native()
- Since
v0.3.4
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated