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:
parent
4781cde4f7
commit
0b224048ef
1 changed files with 1 additions and 0 deletions
|
|
@ -701,6 +701,7 @@ static const mp_rom_map_elem_t mp_module_socket_globals_table[] = {
|
||||||
|
|
||||||
C(MSG_DONTROUTE),
|
C(MSG_DONTROUTE),
|
||||||
C(MSG_DONTWAIT),
|
C(MSG_DONTWAIT),
|
||||||
|
C(MSG_PEEK),
|
||||||
|
|
||||||
C(SOL_SOCKET),
|
C(SOL_SOCKET),
|
||||||
C(SO_BROADCAST),
|
C(SO_BROADCAST),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue