NOTE: There is no absolute guarantee that the read function makes progress after the callback. The caller must be prepared to call ISOCKET_Readable() again when the read function return AEE_NET_WOULDBLOCK.
- pISocket:Pointer to the ISocket Interface object.
- pfn:Address of the callback function. This function is invoked by AEE when the socket becomes ready to be read or when it is ready to be closed. If this is NULL, it cancels the Readable callback function registered by a previous call to ISOCKET_Readable (if any).
- pUser:User-defined data that is passed to the callback function when it is invoked.
void ISOCKET_Readable(ISocket * pISocket, PFNNOTIFY pfn, void * pUser)