mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
add ext address detector when connectiong to peers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1882 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b7ace087e6
commit
76d5072624
13 changed files with 100 additions and 42 deletions
|
@ -178,6 +178,11 @@ int pqissl::disconnect()
|
|||
return reset();
|
||||
}
|
||||
|
||||
int pqissl::getConnectAddress(struct sockaddr_in &raddr) {
|
||||
raddr = remote_addr;
|
||||
return (remote_addr.sin_addr.s_addr == 0);
|
||||
}
|
||||
|
||||
/* BinInterface version of reset() for pqistreamer */
|
||||
int pqissl::close()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue