summary refs log tree commit diff stats
path: root/tests/cpp/tnativesockets.nim
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/tnativesockets.nim
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/tnativesockets.nim')
-rw-r--r--tests/cpp/tnativesockets.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cpp/tnativesockets.nim b/tests/cpp/tnativesockets.nim
new file mode 100644
index 000000000..6108380a8
--- /dev/null
+++ b/tests/cpp/tnativesockets.nim
@@ -0,0 +1,5 @@
+discard """
+  cmd: "nim cpp $file"
+"""
+
+import nativesockets