Liu's GetSockName patch

This commit is contained in:
Craig Dowell
2008-10-23 15:59:48 -07:00
parent 922d5a4de9
commit b4947df5d0
9 changed files with 68 additions and 0 deletions

View File

@@ -487,6 +487,10 @@ public:
*/
int RecvFrom (uint8_t* buf, uint32_t size, uint32_t flags,
Address &fromAddress);
/**
* \returns the address name this socket is associated with.
*/
virtual int GetSockName (Address &address) const = 0;
protected:
void NotifyConnectionSucceeded (void);