From 9df1de44f6d9bbe7e1ec20687d877c30bee8b3fe Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Fri, 26 Dec 2014 16:26:28 +0000 Subject: Emphasises deprecation warning in sockets module. --- lib/pure/sockets.nim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/pure') 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 `_ or the +## `rawsockets `_ 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 `_ module. -## -## Since version 0.10.2 this module is deprecated. Use the `net `_ -## or the `rawsockets `_ module instead. {.deprecated.} -- cgit 1.4.1-2-gfad0