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

void listenTcpS(
  ushort port,
  void function(TcpConnection stream) connection_callback
);

void listenTcpS(
  ushort port,
  void function(TcpConnection stream) connection_callback,
  string 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.