Implementation of a BridgeLink when our end is the client of a TCP server socket (the other end shall be a TcpServer) More...
Public Member Functions | |
| TcpClient (string Host, int Port=3999) | |
| Instantiate the TCP client socket (providing the server's host name) | |
| TcpClient (IPAddress Address, int Port=3999) | |
| Instantiate the TCP client socket (providing the server's IP address) | |
| bool | Connect () |
| Connect as client to the TCP server socket. | |
| override void | Disconnect () |
| Close the socket. | |
| override bool | Send (byte[] t) |
| Send to the server through the socket. | |
Public Member Functions inherited from SpringCard.PCSC.Bridge.Link.BridgeLink | |
| delegate void | ConnectionStateCallback () |
| Typedef for OnConnected() and OnDisconnected() callbacks. | |
| delegate bool | RecvCallback (byte[] frame) |
| Typedef for OnRecv() callback. | |
| string | GetLinkDescription () |
| Get the description of the communication link. | |
Additional Inherited Members | |
Public Attributes inherited from SpringCard.PCSC.Bridge.Link.BridgeLink | |
| ConnectionStateCallback | OnConnected |
| Callback invoked when a link goes up (connection with the peer is established) | |
| ConnectionStateCallback | OnDisconnected |
| Callback invoked when a link goes down (connection with the peer is closed, for any reason) | |
| RecvCallback | OnRecv |
| Callback invoked when a message is received from the peer. | |
| Dictionary< string, string > | LocalInfoData = new Dictionary<string, string>() |
| Get some data. | |
| Dictionary< string, string > | ClientInfoData = new Dictionary<string, string>() |
| Get some data. | |
Properties inherited from SpringCard.PCSC.Bridge.Link.BridgeLink | |
| bool | Connected [get] |
| Is the communication link up and running? | |
Implementation of a BridgeLink when our end is the client of a TCP server socket (the other end shall be a TcpServer)