API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISOCKETCLOSER

Brew Release
Brew MP 1.0.2
See Also
ISOCKET_IOCtl() PFNSOCKETCLOSE
Description
This structure contains function pointer and user callback data for a callback. It is used with ISocket_IOCtl. An ISocketCloser callback is fired (by AEENet) when some other part of the system needs a socket, but none are currently available. It is polite to specify this callback if you plan to hold sockets open for an arbitrarily long time.
Members
  • pfn :  The function to call to request that the owner close it.
  • pv :  User callback data to be passed to pfn as the first parameter.
Definition
  •     typedef struct ISocketCloser {
           PFNSOCKETCLOSE pfn;
           void * pv;
        } ISocketCloser
    
Comments
None