Connection

Connection iunterface

Members

Functions

close
void close()

Close connection

connect
bool connect(InternetAddress address)

Connect to address

duplexPipe
void duplexPipe(Connection otherConnection, uint clientId)

perform bi-directional pipe

receive
ptrdiff_t receive(void[] buf)

Receive data

send
ptrdiff_t send(const(void)[] buf)

Send data

Properties

localAddress
InternetAddress localAddress [@property getter]

Local address

remoteAddress
InternetAddress remoteAddress [@property getter]

Remote address

Meta