diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-12-26 16:26:28 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-12-26 16:26:28 +0000 |
commit | 9df1de44f6d9bbe7e1ec20687d877c30bee8b3fe (patch) | |
tree | 7de98150a5b62d92b1b0a58c8dac3565ec2857e5 /lib/pure | |
parent | 49463c0182437ff0ba4e12ae52c4a045cc7e4c9f (diff) | |
download | Nim-9df1de44f6d9bbe7e1ec20687d877c30bee8b3fe.tar.gz |
Emphasises deprecation warning in sockets module.
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/sockets.nim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/pure/sockets.nim b/lib/pure/sockets.nim index 79f409179..11eeefcb9 100644 --- a/lib/pure/sockets.nim +++ b/lib/pure/sockets.nim @@ -7,6 +7,10 @@ # distribution, for details about the copyright. # +## **Warning:** Since version 0.10.2 this module is deprecated. +## Use the `net <net.html>`_ or the +## `rawsockets <rawsockets.html>`_ module instead. +## ## This module implements portable sockets, it supports a mix of different types ## of sockets. Sockets are buffered by default meaning that data will be ## received in ``BufferSize`` (4000) sized chunks, buffering @@ -23,9 +27,6 @@ ## ## Asynchronous sockets are supported, however a better alternative is to use ## the `asyncio <asyncio.html>`_ module. -## -## Since version 0.10.2 this module is deprecated. Use the `net <net.html>`_ -## or the `rawsockets <rawsockets.html>`_ module instead. {.deprecated.} |