Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Generic socket interface. More...
#include <ISocket.h>
Public Member Functions | |
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. | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Generic socket interface.
This interface defines the methods common to all network sockets. Generated events use this
as the target.
|
pure virtual |
Bind socket to address.
Binds the socket to a particular address.
Implemented in IDataSocket, IListenSocket, TCPListenSocket, and TCPSocket.
|
pure virtual |
Close socket.
Closes the socket. This should flush the output stream.
Implemented in IDataSocket, IListenSocket, SecureSocket, TCPListenSocket, and TCPSocket.
|
pure virtual |
Get event target.
Returns the event target for events generated by this socket.
Implemented in IDataSocket, IListenSocket, TCPListenSocket, and TCPSocket.