FindNextSocket

Syntax

BOOL FindNextSocket (

HANDLE changeHandle,

Struct SocketFindData *findSocketData);

Description

This function finds the succeeding socket data.

Comments

The changeHandle input argument is the handle returned by the FindFirstSocketChangeNotification function.

The SocketFindData output argument contains all the information about the found socket. This structure is defined in <inc_path/toolkit.h>.

This function returns TRUE if a socket is found, or FALSE if there are no more sockets.

Example

HANDLE dwChangeHandle;

struct SocketFindData findSocketData;

do

{

} while(FindNextSocket(dwChangeHandle, &findSocketData));

More information

Socket Status API functions.