mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
try adding ipv6 only mode for ssu
This commit is contained in:
parent
4cf4436169
commit
a3b08654b4
3 changed files with 36 additions and 9 deletions
4
SSU.h
4
SSU.h
|
@ -37,6 +37,7 @@ namespace transport
|
|||
public:
|
||||
|
||||
SSUServer (int port);
|
||||
SSUServer (const boost::asio::ip::address & addr, int port); // ipv6 only constructor
|
||||
~SSUServer ();
|
||||
void Start ();
|
||||
void Stop ();
|
||||
|
@ -93,8 +94,9 @@ namespace transport
|
|||
uint64_t creationTime;
|
||||
PeerTestParticipant role;
|
||||
std::shared_ptr<SSUSession> session; // for Bob to Alice
|
||||
};
|
||||
};
|
||||
|
||||
bool m_OnlyV6;
|
||||
bool m_IsRunning;
|
||||
std::thread * m_Thread, * m_ThreadV6, * m_ReceiversThread;
|
||||
boost::asio::io_service m_Service, m_ServiceV6, m_ReceiversService;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue