I2P SAM session.

Synopsis

Declared in <i2p.h>

class Session;

Member Functions

Name

Description

Session [constructor]

Constructors

~Session [destructor]

Destroy the session, closing the internally used sockets. The sockets that have been returned by Accept() or Connect() will not be closed, but they will be closed by the SAM proxy because the session is destroyed. So they will return an error next time we try to read or write to them.

Accept

Wait for and accept a new incoming connection.

Connect

Connect to an I2P peer.

Listen

Start listening for an incoming connection.

Created with MrDocs