ServerStreamSocket
Object Hierarchy:
Description:
public class ServerStreamSocket : Object
Use this class to implement a TCP connection oriented service. In particular, you can wait for a connection without blocking the rest of
the application.
Namespace: Ntk.Lib.TaskletUtils
Package: vd
Content:
Creation methods:
- public ServerStreamSocket (
uint16
port, int
backlog = 5, string
? my_addr = null) throws Error
Methods:
- public IConnectedStreamSocket accept () throws
Error
When the method returns, start a new tasklet and pass the returned
object to handle the request. With this instance, instead, call accept again to wait for more clients.
- public void close () throws
Error