libktorrent  2.1.1
Public Member Functions | List of all members
net::ServerSocket::ConnectionHandler Class Referenceabstract

#include <serversocket.h>

Public Member Functions

virtual void newConnection (int fd, const net::Address &addr)=0
 

Detailed Description

Interface class to handle new connections from a ServerSocket.

Definition at line 69 of file serversocket.h.

Member Function Documentation

◆ newConnection()

virtual void net::ServerSocket::ConnectionHandler::newConnection ( int  fd,
const net::Address addr 
)
pure virtual

A new connection has been accepted

Parameters
fdThe filedescriptor of the connection
addrThe address of the connection

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