summaryrefslogtreecommitdiffstatshomepage
path: root/examples/unix
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-08 21:10:18 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-08 21:20:32 +0200
commit9945f338863cd1bc0ce483c0eb70c41fbdb710f1 (patch)
treeed6068ff4cc1888cbbea17c635b7b5752434b81a /examples/unix
parent0a587b85fb19e57644ac420c642d0d75d2f9346f (diff)
downloadmicropython-9945f338863cd1bc0ce483c0eb70c41fbdb710f1.tar.gz
micropython-9945f338863cd1bc0ce483c0eb70c41fbdb710f1.zip
Rename "rawsocket" module to "microsocket".
It's no longer intended to provide just "raw" socket interface, may include some convenience methods for compatibility with CPython socket - but anyway just minimal set required to deal with socket client and servers, not wider network functionality.
Diffstat (limited to 'examples/unix')
-rw-r--r--examples/unix/sock-client.py2
-rw-r--r--examples/unix/sock-server.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/unix/sock-client.py b/examples/unix/sock-client.py
index 08a39b196a..858420b99f 100644
--- a/examples/unix/sock-client.py
+++ b/examples/unix/sock-client.py
@@ -1,5 +1,5 @@
try:
- import rawsocket as _socket
+ import microsocket as _socket
except:
import _socket
diff --git a/examples/unix/sock-server.py b/examples/unix/sock-server.py
index f08aede3c1..f99d7974a7 100644
--- a/examples/unix/sock-server.py
+++ b/examples/unix/sock-server.py
@@ -1,5 +1,5 @@
try:
- import rawsocket as socket
+ import microsocket as socket
except:
import socket