mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
show if TCP connection is incoming or outgoing (modified patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3d3a163a75
commit
66242ce068
10 changed files with 48 additions and 16 deletions
|
@ -367,6 +367,11 @@ void pqissl::getCryptoParams(RsPeerCryptoParams& params)
|
|||
}
|
||||
}
|
||||
|
||||
bool pqissl::actAsServer()
|
||||
{
|
||||
return (bool)ssl_connection->server;
|
||||
}
|
||||
|
||||
/* returns ...
|
||||
* -1 if inactive.
|
||||
* 0 if connecting.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue