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:
Angus Gratton
2025-05-16 15:04:48 +10:00
committed by Damien George
parent 4781cde4f7
commit 0b224048ef

View File

@@ -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),