Method EventDriver.listenTcp

Listens on the specified port and interface for TCP connections.

'bind_address' must be an IPv4 or IPv6 address string corresponding to a local network interface.

Prototypes

void listenTcp(
  ushort port,
  void delegate(TcpConnection stream) conn_callback,
  string bind_address
);

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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