FindFirstSocket

Syntax

BOOL FindFirstSocket (

    HANDLE changeHandle,

    Struct SocketFindData *findSocketData);

 

Description

This function finds the first socket data.

Comments

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

The findSocketData 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;

if(FindFirstSocket(dwChangeHandle, &findSocketData))

  ;

More information

Socket Status API functions.