Paul Sokolovsky
eb0e3bab1e
tests/machine_mem.py: Too non-portable, rework as an example for unix port.
8 years ago
Paul Sokolovsky
70536212d5
examples/unix/ffi_example.py: Remove TODO, make output more clear.
9 years ago
Paul Sokolovsky
ecfd8e102d
examples/unix/ffi_example.py: Update for current "ffi" module API.
9 years ago
Paul Sokolovsky
cf4b72bf13
examples: http_client.py, http_server.py aren't just unix, move to network/.
9 years ago
Paul Sokolovsky
bae052d420
examples/unix: Rename example be importable as modules.
Replace hyphens with undescores in modules.
9 years ago
Paul Sokolovsky
23b3b04072
unix: Rename "microsocket" module to "usocket".
Per new conventions, we'd like to consistently use "u*" naming conventions
for modules which don't offer complete CPython compatibility, while offer
subset or similar API.
10 years ago
Paul Sokolovsky
a2d8f98a7e
examples: Rename unix socket examples to have more precise naming (http).
10 years ago
Paul Sokolovsky
8bc3516389
ffi: Implement ffivar.get()/set() methods.
Done by introducing another factored out helper API in binary.c. This API
can be reused also by array and struct modules.
11 years ago
Paul Sokolovsky
9945f33886
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.
11 years ago
Paul Sokolovsky
809eaa2679
Add FFI module example.
11 years ago
Paul Sokolovsky
4795c58f3c
sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.
11 years ago
Paul Sokolovsky
d991da7263
socket-client, socket-server examples now run on both Micro- and C-Python.
11 years ago
Paul Sokolovsky
e2f3e1d24a
Add socket examples (simple HTTP client and server).
11 years ago