cwSocket.h : Updated comments.

This commit is contained in:
kevin 2021-01-31 11:08:09 -05:00
parent e3b104fb61
commit ce1b4cea6b

View File

@ -13,6 +13,9 @@ namespace cw
// connId is an automatically assigned id which represents the remote endpoint which is connected to 'userId'. // connId is an automatically assigned id which represents the remote endpoint which is connected to 'userId'.
typedef void (*callbackFunc_t)( void* cbArg, cbOpId_t cbId, unsigned userId, unsigned connId, const void* byteA, unsigned byteN, const struct sockaddr_in* srcAddr ); typedef void (*callbackFunc_t)( void* cbArg, cbOpId_t cbId, unsigned userId, unsigned connId, const void* byteA, unsigned byteN, const struct sockaddr_in* srcAddr );
// maxSocketN is the maximum number of socket connections this manager will create.
// This includes sockets created throught the create() method as well as connections
// created through 'accept()'
rc_t createMgr( handle_t& hRef, unsigned recvBufByteN, unsigned maxSocketN ); rc_t createMgr( handle_t& hRef, unsigned recvBufByteN, unsigned maxSocketN );
rc_t destroyMgr( handle_t& hRef ); rc_t destroyMgr( handle_t& hRef );