Socket.ClearNewConnectionHandler
--------------------------------

Clears the new connection handler.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Socket](component_Socket.md) | [7.2](newinversion72.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Socket.ClearNewConnectionHandler"; SocketID ) 

**MBS**( **"Socket.ClearNewConnectionHandler";** /\* Clears the new connection handler. \*/  
**$SocketID**) /\* The socket ID received by [Socket.Connect](SocketConnect.md) function.e.g. $sock \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SocketID | The socket ID received by [Socket.Connect](SocketConnect.md) function. | $sock |

### Result

Returns OK or error message.

### Description

Clears the new connection handler.  
### See also

- [Socket.Connect](SocketConnect.md)
- [Socket.SetNewConnectionHandler](SocketSetNewConnectionHandler.md)

This function checks for a license.

Created 19th March 2017 , last changed 19th March 2017

  
[Socket.ClearErrorHandler](SocketClearErrorHandler.md) - [Socket.Close](SocketClose.md)

[HTML Version](SocketClearNewConnectionHandler.shtml)