Re: about source code

2017-02-15 Thread Mark Andrews
In message <045768a3-5513-132b-229a-0bc9750b5...@lancaster.ac.uk>, Graham Clinc h writes: > > > In Socket.c, there are many "manager->nevents" > > for an example, manager->nevents = ISC_SOCKET_MAXEVENTS; > > > > but the manager is defined in "isc_socketmgr_t *manager " > > Where the nevents

Re: about source code

2017-02-15 Thread Mark Andrews
Different platforms have different structure contents. lib/isc/unix/socket.c (has nevents) lib/isc/win32/socket.c (doesn't have nevents) Mark In message , Yao HEALTH writes: > Hello, > > In Socket.c, there are many "manager->nevents" > for an example, manager->nevents = ISC_SOCKET_MAXEVENTS

Re: about source code

2017-02-15 Thread Graham Clinch
> In Socket.c, there are many "manager->nevents" > for an example, manager->nevents = ISC_SOCKET_MAXEVENTS; > > but the manager is defined in "isc_socketmgr_t *manager " Where the nevents member is involved, I see manager being of type isc__socketmgr_t - note the additional underscore (in 9.1

about source code

2017-02-14 Thread Yao HEALTH
Hello, In Socket.c, there are many "manager->nevents" for an example, manager->nevents = ISC_SOCKET_MAXEVENTS; but the manager is defined in "isc_socketmgr_t *manager " typedef struct isc_socketmgr isc_socketmgr_t; /*%< Socket Manager */ struct isc_socketmgr { /* Not locked. */ unsigned