vibe.d beta banner
get vibe.d
0.7.30

Function connectTCP

Establishes a connection to the given host/port.

Prototypes

TCPConnection connectTCP(
  string host,
  ushort port,
  string bind_interface = null,
  ushort bind_port = cast(ushort)0u
);

TCPConnection connectTCP(
  NetworkAddress addr,
  NetworkAddress bind_address = anyAddress()
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License