generated from ClemaX/ft_skeleton_cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
SocketServer
Clément Hamada edited this page Mar 31, 2021
·
4 revisions
The SocketServer
listens on a specified address and accepts incoming connections, mapping them according to their file-descriptor, using the SocketConnection returned by the implementation of the onConnection
event.
Events are triggered in response to SocketConnection
activity.
This event is fired on each new accepted connection. The implementation shall return a pointer to a SocketConnection
instance that describes the new connection.
This event is fired on each disconnection. The implementation shall remove references accordingly.
This event is fired when data has been received.