Usermode/libpsocket - Add MSG_* values for send/recv
authorJohn Hodge <[email protected]>
Wed, 8 Jan 2014 05:04:55 +0000 (13:04 +0800)
committerJohn Hodge <[email protected]>
Wed, 8 Jan 2014 05:06:20 +0000 (13:06 +0800)
Usermode/Libraries/libpsocket.so_src/include_exp/sys/socket.h

index 18c40e7..deb1f51 100644 (file)
@@ -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

UCC git Repository :: git.ucc.asn.au