FiberSocketConnection.connect

Ditto.

  1. ConnectionStatus connect(cstring address, ushort port, bool force)
  2. ConnectionStatus connect(InAddr address, bool force)
    class FiberSocketConnection(bool IPv6 = false)
    ConnectionStatus
    connect
    (,
    bool force = false
    )

Parameters

address InAddr

remote address

force bool

false: don't call connect() if currently connected to the same address and port; true: always call connect()

Return Value

Type: ConnectionStatus

see connect() above.

Meta