micropython/unix
Paul Sokolovsky 3b83aeb403 unix: modsocket: Implement sendto().
sendto() turns out to be mandatory function to work with UDP. It may seem
that connect(addr) + send() would achieve the same effect, but what connect()
appears to do is to set source address filter on a socket to its argument.
Then everything falls apart: socket sends to a broad-/multi-cast address,
but reply is sent from real peer address, which doesn't match filter set
by connect(), so local socket never sees a reply.
2015-07-12 13:53:35 +03:00
..
.gitignore unix: Update .gitignore; now ignores coverage build. 2015-06-03 17:47:31 +01:00
Makefile unix: Prepare upip frozen modules under build/. 2015-06-03 19:28:31 +03:00
alloc.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
coverage.c tests: Add special tests to test mp_printf function to improve coverage. 2015-05-28 14:25:07 +00:00
file.c unix: Add O_WRONLY | O_CREAT to open call when opening file for append ("a"). 2015-06-21 00:03:26 +03:00
gccollect.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
input.c unix: Print an extra newline to the output on ctrl-D 2015-05-30 13:38:17 +03:00
input.h unix: Support readline history saving to file, improves interactive usage. 2015-03-13 21:46:19 +00:00
main.c unix: Allow to cat a script into stdin from the command line. 2015-06-04 23:42:45 +01:00
modffi.c unix/modffi.c: get_buffer is allowed to return NULL if len=0. 2015-05-01 21:34:08 +01:00
modos.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modsocket.c unix: modsocket: Implement sendto(). 2015-07-12 13:53:35 +03:00
modtermios.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modtime.c py, unix, lib: Allow to compile with -Wold-style-definition. 2015-01-12 22:34:38 +00:00
mpconfigport.h modmachine: Implement physical memory access using /dev/mem (Linux, etc). 2015-07-08 11:37:23 +03:00
mpconfigport.mk unix: Add option to use uPy readline, and enable by default. 2015-05-27 15:59:43 +01:00
mpconfigport_fast.h unix: Include upip as fronzen modules inside the standard interpreter. 2015-06-02 01:32:07 +03:00
mpconfigport_minimal.h py: Use a wrapper to explicitly check self argument of builtin methods. 2015-06-20 16:39:39 +01:00
qstrdefsport.h unix: modsocket: Implement sendto(). 2015-07-12 13:53:35 +03:00
unix_mphal.c unix: Add option to use uPy readline, and enable by default. 2015-05-27 15:59:43 +01:00
unix_mphal.h unix: Add option to use uPy readline, and enable by default. 2015-05-27 15:59:43 +01:00