# DeleteSocketListener

## Description

Stops the socket listener from receiving connections and frees the ID to be used again. If any connections are still in the queue and have yet to be collected using GetSocketListenerConnection then they will be closed and deleted.

## Definition

DeleteSocketListener( listenerID )

void agk::DeleteSocketListener( UINT listenerID )

## Parameters

- listenerID - The ID of the listener to check