diff options
author | Adam Strzelecki <ono@java.pl> | 2015-09-30 13:36:43 +0200 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-10-03 19:45:41 +0200 |
commit | be991ed413d57ec90b4494f4be945d11c85365f4 (patch) | |
tree | ed5c6c4b6502a4bc3020c220ab561c7e662da9e4 /web | |
parent | 3fe573177715b1c21d34e79a113862d298741c01 (diff) | |
download | Nim-be991ed413d57ec90b4494f4be945d11c85365f4.tar.gz |
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.
Diffstat (limited to 'web')
-rw-r--r-- | web/news.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/news.txt b/web/news.txt index 33ceac49e..2b6079620 100644 --- a/web/news.txt +++ b/web/news.txt @@ -9,6 +9,9 @@ News Changes affecting backwards compatibility ----------------------------------------- + - The ``rawsockets`` module has been renamed to ``nativesockets`` to avoid + confusion with TCP/IP raw sockets, so ``newNativeSocket`` should be used + instead of ``newRawSocket``. - The ``miliseconds`` property of ``times.TimeInterval`` is now ``milliseconds``. Code accessing that property is deprecated and code using ``miliseconds`` during object initialization or as a named parameter of ``initInterval()`` |