mirror of
https://github.com/micropython/micropython.git
synced 2025-08-14 06:30:32 +02:00
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>
This commit is contained in:
committed by
Damien George
parent
4781cde4f7
commit
0b224048ef
@@ -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),
|
||||
|
Reference in New Issue
Block a user