| Bind to a Unix domain socket |
| Declaration: |
| function bind(string path) |
| Description: |
| Creates a UnixStream object bound to the specified Unix domain socket. Note that the bind will fail if the file already exists, and Unix domain sockets are not automatically deleted when the server closes them, so you may need to delete a stale socket file before you can bind to it. |
| Parameters: |
| Parameter #1: string path - The full path to the file to use as the named socket |
| Returns: |
| An object that can accept connections, or null on error |