refactor in progress
This commit is contained in:
parent
e391bc004b
commit
b11d429bc0
3 changed files with 33 additions and 65 deletions
|
@ -289,7 +289,7 @@ public:
|
|||
* @param uptr Pointer to associate with local side of socket pair
|
||||
* @return PhySocket for local side of socket pair
|
||||
*/
|
||||
inline PhySocket *createSocketPair(ZT_PHY_SOCKFD_TYPE &remoteSocketDescriptor,void *uptr = (void *)0)
|
||||
static inline PhySocket *createSocketPair(ZT_PHY_SOCKFD_TYPE &remoteSocketDescriptor,void *uptr = (void *)0)
|
||||
{
|
||||
if (_socks.size() >= ZT_PHY_MAX_SOCKETS)
|
||||
return (PhySocket *)0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue