vibe.d beta banner
get vibe.d
0.7.30

Function listenTCP_s

Starts listening on the specified port.

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

Prototypes

TCPListener[] listenTCP_s(
  ushort port,
  void function(TCPConnection) connection_callback,
  TCPListenOptions options = cast(TCPListenOptions)0
);

TCPListener listenTCP_s(
  ushort port,
  void function(TCPConnection) connection_callback,
  string address,
  TCPListenOptions options = cast(TCPListenOptions)0
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License