Rename rawsockets module to nativesockets

This change was done to avoid confusion with TCP/IP raw sockets. Native sockets
module represents handling native system low level socket API in general and is
not just limited anyhow to TCP/IP raw sockets.

A stub lib/deprecated/pure/rawsockets.nim module has been added as
compatibility layer for old code using rawsockets, so this change will not
break existing code.
This commit is contained in:
Adam Strzelecki 2015-09-30 13:36:43 +02:00
commit be991ed413
16 changed files with 91 additions and 65 deletions

View file

@ -244,7 +244,7 @@ Internet Protocols and Support
This module implements a high-level sockets API. It will replace the
``sockets`` module in the future.
* `rawsockets <rawsockets.html>`_
* `nativesockets <nativesockets.html>`_
This module implements a low-level sockets API.
* `selectors <selectors.html>`_
@ -406,6 +406,10 @@ Deprecated modules
Use the `net <net.html>`_ or the `rawsockets <rawsockets.html>`_ module
instead.
* `rawsockets <rawsockets.html>`_
**Deprecated since version 0.11.4:**
This module has been renamed to `nativesockets <nativesockets.html>`_.
Impure libraries
================