Stateless RPC rework

This commit is contained in:
Joseph Henry 2016-01-11 10:12:59 -08:00
commit 3e65ecb93d
10 changed files with 698 additions and 975 deletions

View file

@ -309,7 +309,7 @@ public:
if ((long)fd > _nfds)
_nfds = (long)fd;
FD_SET(fd,&_readfds);
sws.type = ZT_PHY_SOCKET_FD;
sws.type = ZT_PHY_SOCKET_UNIX_IN; /* TODO: Type was changed to allow for CBs with new RPC model */
sws.sock = fd;
sws.uptr = uptr;
memset(&(sws.saddr),0,sizeof(struct sockaddr_storage));