mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-15 18:09:32 -04:00
Partially completed changes to implement final relay bits.
* Adding more detailed flags to each connection. * Cleaned up unneeded stuff from p3LinkMgr. * Added rswin.h includes before openssl - allows compilation using std Win OpenSSL. * Added getConnectFlags() to Net Base. * removed net_attempt and associated obsolete variables from pqissl * Made NetBinInterface protected in pqiperson (is this okay?) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e432d89310
commit
abbebf48ff
10 changed files with 57 additions and 50 deletions
|
@ -74,8 +74,8 @@ virtual bool connect_parameter(uint32_t type, uint32_t value) { return ni -> co
|
|||
virtual bool connect_additional_address(uint32_t type, struct sockaddr_in *addr) { return ni -> connect_additional_address(type, addr);}
|
||||
|
||||
|
||||
|
||||
virtual int getConnectAddress(struct sockaddr_in &raddr){ return ni->getConnectAddress(raddr); }
|
||||
virtual int getConnectFlags(uint32_t &flags){ return ni->getConnectFlags(flags); }
|
||||
|
||||
// get the contact from the net side!
|
||||
virtual std::string PeerId()
|
||||
|
@ -92,7 +92,7 @@ virtual std::string PeerId()
|
|||
|
||||
// to check if our interface.
|
||||
virtual bool thisNetInterface(NetInterface *ni_in) { return (ni_in == ni); }
|
||||
//protected:
|
||||
protected:
|
||||
NetBinInterface *ni;
|
||||
protected:
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue