Function listenTcpS

Starts listening on the specified port.

This function is the same as listenTcp but takes a function callback instead of a delegate.

Prototypes

TcpListener[] listenTcpS(
  ushort port,
  void function(TcpConnection stream) connection_callback,
  TcpListenOptions options
);

TcpListener listenTcpS(
  ushort port,
  void function(TcpConnection stream) connection_callback,
  string address,
  TcpListenOptions options
);

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.