From: John Hodge Date: Wed, 8 Jan 2014 05:04:55 +0000 (+0800) Subject: Usermode/libpsocket - Add MSG_* values for send/recv X-Git-Tag: rel0.15~16 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=cee190b0244cf8c1389f82237f0c1457eb2c0e7f;p=tpg%2Facess2.git Usermode/libpsocket - Add MSG_* values for send/recv --- diff --git a/Usermode/Libraries/libpsocket.so_src/include_exp/sys/socket.h b/Usermode/Libraries/libpsocket.so_src/include_exp/sys/socket.h index 18c40e73..deb1f51e 100644 --- a/Usermode/Libraries/libpsocket.so_src/include_exp/sys/socket.h +++ b/Usermode/Libraries/libpsocket.so_src/include_exp/sys/socket.h @@ -108,6 +108,13 @@ enum SHUT_RDWR }; +// flags for send* +//#define MSG_CONFIRM 0x01 +#define MSG_DONTROUTE 0x02 +#define MSG_OOB 0x40 +// flags for recv +#define MSG_PEEK 0x100 + /** * \brief Create a new socket descriptor * \param domain Address family