asyncio doc: add UDP client and server examples

This commit is contained in:
Victor Stinner 2014-10-12 11:24:26 +02:00
parent c2721b41d3
commit c7edffdddd
2 changed files with 85 additions and 0 deletions

View file

@ -243,6 +243,9 @@ Creating connections
On Windows with :class:`ProactorEventLoop`, this method is not supported.
See :ref:`UDP echo client protocol <asyncio-udp-echo-client-protocol>` and
:ref:`UDP echo server protocol <asyncio-udp-echo-server-protocol>` examples.
.. method:: BaseEventLoop.create_unix_connection(protocol_factory, path, \*, ssl=None, sock=None, server_hostname=None)