vibe.d beta banner
get vibe.d
0.8.2

Asynchronous I/O that doesn’t get in your way, written in D

Function connectTCP

Establishes a connection to the given host/port.

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

TCPConnection connectTCP (
  NetworkAddress addr,
  NetworkAddress bind_address = anyAddress()
) @safe;
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.