SpringCard PcscBridge SDK for .NET  20.09.25
The SDK for PcscBridge and the virtual PC/SC drivers
SpringCard.PCSC.Bridge.Link.BridgeLink.TcpServer Class Reference

Implementation of a BridgeLink when our end is a TCP server socket (the other end shall be a TcpClient) More...

Inheritance diagram for SpringCard.PCSC.Bridge.Link.BridgeLink.TcpServer:
SpringCard.PCSC.Bridge.Link.BridgeLink SpringCard.PCSC.Bridge.Link.BridgeLink.IServer

Public Member Functions

 TcpServer (int Port, bool openServer=false)
 Instantiate the TCP socket server. More...
 
bool Start ()
 Start accepting clients.
 
void Stop ()
 Stop accepting clients.
 
override void Disconnect ()
 Drop the currently connected client (if some)
 
override bool Send (byte[] frame)
 Send to the client through the pipe.
 

Additional Inherited Members

Detailed Description

Implementation of a BridgeLink when our end is a TCP server socket (the other end shall be a TcpClient)

Constructor & Destructor Documentation

◆ TcpServer()

SpringCard.PCSC.Bridge.Link.BridgeLink.TcpServer.TcpServer ( int  Port,
bool  openServer = false 
)

Instantiate the TCP socket server.

Remarks

If openServer is true, the TCP server accepts connections from remote clients. In this case, don't forget to open the port in the firewall.

If openServer is false, the TCP server accepts local connections only.


The documentation for this class was generated from the following file: