FindFirstSocketChangeNotification

Syntax

HANDLE FindFirstSocketChangeNotification();

Description

This function initializes notification that the socket data has changed.

Comments

There are no input or output arguments.

This function returns the handle used in the find socket routines, or INVALID_HANDLE_VALUE on failure.

Example

HANDLE dwChangeHandle;

dwChangeHandle = FindFirstSocketChangeNotification();

if(dwChangeHandle == INVALID_HANDLE_VALUE)

    return 0;

More information

Socket Status API functions.