OneService now binds all ports to specific local interfaces instead of wildcard and rebinds on changes. (default route)

This commit is contained in:
Adam Ierymenko 2016-04-05 15:44:08 -07:00
parent 4a109658ab
commit 32cd2a02c9
5 changed files with 294 additions and 219 deletions

View file

@ -53,7 +53,7 @@ static const struct http_parser_settings HTTP_PARSER_SETTINGS = {
struct HttpPhyHandler
{
// not used
inline void phyOnDatagram(PhySocket *sock,void **uptr,const struct sockaddr *from,void *data,unsigned long len) {}
inline void phyOnDatagram(PhySocket *sock,void **uptr,const struct sockaddr *localAddr,const struct sockaddr *from,void *data,unsigned long len) {}
inline void phyOnTcpAccept(PhySocket *sockL,PhySocket *sockN,void **uptrL,void **uptrN,const struct sockaddr *from) {}
inline void phyOnTcpConnect(PhySocket *sock,void **uptr,bool success)