asyncio.AbstractEventLoop.create_unix_connection()

coroutine AbstractEventLoop.create_unix_connection(protocol_factory, path, *, ssl=None, sock=None, server_hostname=None)

Create UNIX connection: socket family AF_UNIX, socket type SOCK_STREAM. The AF_UNIX socket family is used to communicate between processes on the same machine efficiently.

This method is a coroutine which will try to establish the connection in the background. When successful, the coroutine returns a (transport, protocol) pair.

See the AbstractEventLoop.create_connection() method for parameters.

Availability: UNIX.

doc_python
2016-10-07 17:26:29
Comments
Leave a Comment

Please login to continue.