Packages

object Net extends Object with Net

Net Singleton

Annotations
@native() @JSImport("net", JSImport.Namespace)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Net
  2. Net
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def connect(port: Int): Socket
    Definition Classes
    Net
  7. def connect(port: Int, host: String): Socket
    Definition Classes
    Net
  8. def connect(port: Int, connectListener: Function): Socket
    Definition Classes
    Net
  9. def connect(port: Int, host: String, connectListener: Function): Socket
    Definition Classes
    Net
  10. def connect(path: String): Socket
    Definition Classes
    Net
  11. def connect(path: String, connectListener: Function): Socket
    Definition Classes
    Net
  12. def connect(options: ConnectOptions): Socket
    Definition Classes
    Net
  13. def connect(options: ConnectOptions, callback: Function): Socket

    A factory function, which returns a new net.Socket and automatically connects with the supplied options.

    A factory function, which returns a new net.Socket and automatically connects with the supplied options. The options are passed to both the net.Socket constructor and the socket.connect method. The connectListener parameter will be added as a listener for the 'connect' event once.

    Definition Classes
    Net
    Example:
    1. net.connect(options[, connectListener])

  14. def createConnection(port: Int): Socket
    Definition Classes
    Net
  15. def createConnection(port: Int, host: String): Socket
    Definition Classes
    Net
  16. def createConnection(port: Int, connectListener: Function): Socket
    Definition Classes
    Net
  17. def createConnection(port: Int, host: String, connectListener: Function): Socket
    Definition Classes
    Net
  18. def createConnection(path: String): Socket
    Definition Classes
    Net
  19. def createConnection(path: String, connectListener: Function): Socket
    Definition Classes
    Net
  20. def createConnection(options: ConnectOptions): Socket
    Definition Classes
    Net
  21. def createConnection(options: ConnectOptions, connectListener: Function): Socket

    A factory function, which returns a new net.Socket and automatically connects with the supplied options.

    A factory function, which returns a new net.Socket and automatically connects with the supplied options. The options are passed to both the net.Socket constructor and the socket.connect method. The connectListener parameter will be added as a listener for the 'connect' event once.

    Definition Classes
    Net
    Example:
    1. net.createConnection(options[, connectListener])

  22. def createServer(): Server
    Definition Classes
    Net
  23. def createServer(connectionListener: Function): Server
    Definition Classes
    Net
  24. def createServer(options: ServerOptions): Server
    Definition Classes
    Net
  25. def createServer(options: ServerOptions, connectionListener: Function): Server
    Definition Classes
    Net
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def isIP(input: String): Int

    Tests if input is an IP address.

    Tests if input is an IP address. Returns 0 for invalid strings, returns 4 for IP version 4 addresses, and returns 6 for IP version 6 addresses.

    Definition Classes
    Net
    Example:
    1. net.isIP(input)

  33. def isIPv4(input: String): Boolean

    Returns true if input is a version 4 IP address, otherwise returns false.

    Returns true if input is a version 4 IP address, otherwise returns false.

    Definition Classes
    Net
    Example:
    1. net.isIPv4(input)

  34. def isIPv6(input: String): Boolean

    Returns true if input is a version 6 IP address, otherwise returns false.

    Returns true if input is a version 6 IP address, otherwise returns false.

    Definition Classes
    Net
    Example:
    1. net.isIPv6(input)

  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toLocaleString(): String
    Definition Classes
    Object
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def valueOf(): Any
    Definition Classes
    Object
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Net

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped