Unix domain sockets in Phy<>

This commit is contained in:
Adam Ierymenko 2015-09-02 14:32:01 -07:00
parent b11ffc9635
commit 4838cbc350
3 changed files with 186 additions and 13 deletions

View file

@ -791,6 +791,13 @@ struct TestPhyHandlers
testPhyInstance->close(sock,true);
}
}
#ifdef __UNIX_LIKE__
inline void phyOnUnixAccept(PhySocket *sockL,PhySocket *sockN,void **uptrL,void **uptrN) {}
inline void phyOnUnixClose(PhySocket *sock,void **uptr) {}
inline void phyOnUnixData(PhySocket *sock,void **uptr,void *data,unsigned long len) {}
inline void phyOnUnixWritable(PhySocket *sock,void **uptr) {}
#endif // __UNIX_LIKE__
};
static int testPhy()
{