Unix domain sockets in Phy<>
This commit is contained in:
parent
b11ffc9635
commit
4838cbc350
3 changed files with 186 additions and 13 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue