Developer

API Reference

PFNNETMGREVENT

Brew Release
Brew MP 1.0.2
See Also
INETMGR_OnEvent() NetMgrEvent.
Description
This data type is the prototype for a Network event callback function. It is called when networking events occur on a socket or the network after you register for events with the INETMGR_OnEvent() function.
Members
  • pUser:  User-specific data.
  • evt:    The Event that triggered this callback.
  • dwData: Data passed by caller depending on the evt that caused the callback.
Definition
   typedef void (*PFNNETMGREVENT)(void* pUser, NetMgrEvent evt, uint32 dwData)
Comment
dwData have a different meaning depending on the value of evt. These are given below in the order evt: dwData.
In the case of NE_SO_CLOSING and NE_SO_CLOSED, the ISocket pointer no longer refers to a valid ISocket and may not be dereferenced. It may be used as a value for searching a list or other tasks.
  • Follow