summary refs log tree commit diff stats
path: root/tests/cpp
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-09-30 13:36:43 +0200
committerAdam Strzelecki <ono@java.pl>2015-10-03 19:45:41 +0200
commitbe991ed413d57ec90b4494f4be945d11c85365f4 (patch)
treeed5c6c4b6502a4bc3020c220ab561c7e662da9e4 /tests/cpp
parent3fe573177715b1c21d34e79a113862d298741c01 (diff)
downloadNim-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 'tests/cpp')
-rw-r--r--tests/cpp/tnativesockets.nim (renamed from tests/cpp/trawsockets.nim)2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cpp/trawsockets.nim b/tests/cpp/tnativesockets.nim
index bc129de57..6108380a8 100644
--- a/tests/cpp/trawsockets.nim
+++ b/tests/cpp/tnativesockets.nim
@@ -2,4 +2,4 @@ discard """
   cmd: "nim cpp $file"
 """
 
-import rawsockets
+import nativesockets