diff options
author | Angus Gratton <angus@redyak.com.au> | 2025-05-16 15:04:48 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-03 12:52:06 +1000 |
commit | 0b224048ef1cf448cfae18cde91ed42c6b7838f0 (patch) | |
tree | 5410f5ae91d65a2e57fdb376aaaa0d94654eaa69 | |
parent | 4781cde4f78ca386c99bb63cb1ad238f8aff7731 (diff) |
unix/modsocket: Expose MSG_PEEK flag for recv & recvfrom.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
-rw-r--r-- | ports/unix/modsocket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/modsocket.c b/ports/unix/modsocket.c index 6d6059ae4..2aaa21183 100644 --- a/ports/unix/modsocket.c +++ b/ports/unix/modsocket.c @@ -701,6 +701,7 @@ static const mp_rom_map_elem_t mp_module_socket_globals_table[] = { C(MSG_DONTROUTE), C(MSG_DONTWAIT), + C(MSG_PEEK), C(SOL_SOCKET), C(SO_BROADCAST), |