diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-25 20:31:34 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-26 02:03:07 +0200 |
commit | 5d362d32093bfbc4a708fecdab1d2b12c2435971 (patch) | |
tree | b01f8362f326c84603e3460e055d9af1d32aaab0 /unix/socket.c | |
parent | db0b282d4566334fbffa4f18555d628a4f95ac78 (diff) | |
download | micropython-5d362d32093bfbc4a708fecdab1d2b12c2435971.tar.gz micropython-5d362d32093bfbc4a708fecdab1d2b12c2435971.zip |
unix socket: Add few more socket constants.
Diffstat (limited to 'unix/socket.c')
-rw-r--r-- | unix/socket.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/unix/socket.c b/unix/socket.c index ab0284c071..193e4b51ed 100644 --- a/unix/socket.c +++ b/unix/socket.c @@ -311,6 +311,18 @@ struct sym_entry { C(SOCK_STREAM), C(SOCK_DGRAM), C(SOCK_RAW), + + C(MSG_DONTROUTE), + C(MSG_DONTWAIT), + + C(SOL_SOCKET), + C(SO_BROADCAST), + C(SO_ERROR), + C(SO_KEEPALIVE), + C(SO_LINGER), + C(SO_REUSEADDR), + + {NULL} }; #undef C |