![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Generic socket interface. More...
#include <ISocket.h>

Public Member Functions | |
| virtual | ~ISocket ()=default |
manipulators | |
| virtual void | bind (const NetworkAddress &)=0 |
| Bind socket to address. | |
| virtual void | close ()=0 |
| Close socket. | |
accessors | |
| virtual void * | getEventTarget () const =0 |
| Get event target. | |
Generic socket interface.
This interface defines the methods common to all network sockets. Generated events use this as the target.
|
virtualdefault |
|
pure virtual |
Bind socket to address.
Binds the socket to a particular address.
Implemented in TCPListenSocket, and TCPSocket.
|
pure virtual |
Close socket.
Closes the socket. This should flush the output stream.
Implemented in IDataSocket, SecureSocket, TCPListenSocket, and TCPSocket.
|
pure virtual |
Get event target.
Returns the event target for events generated by this socket.
Implemented in IDataSocket, TCPListenSocket, and TCPSocket.