# muscat_setup_net

(PHP 4 >= 4.0.5)

muscat_setup_net — Creates a new muscat session

### Description

resource muscat_setup_net ( resource `$socket` )
Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Creates a new muscat session.

### Parameters

`socket`

  Socket handle

### Return Values

Returns a session handler or `FALSE` on error.

### See Also

- muscat_setup()
- muscat_close()