]> The Tcpdump Group git mirrors - libpcap/blobdiff - sockutils.h
Merge branch 'master' of https://github.com/rixed/libpcap into rixed-master
[libpcap] / sockutils.h
index 95bd8ddb30846d3df475cb03fc7761e241471fbb..fc271bf9ddeb5e7b89fe203dfed24dd7d5df248f 100644 (file)
@@ -184,6 +184,8 @@ int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
 #define SOCK_EOF_ISNT_ERROR    0x00000000      /* Return 0 on EOF */
 #define SOCK_EOF_IS_ERROR      0x00000002      /* Return an error on EOF */
 
+#define SOCK_MSG_PEEK          0x00000004      /* Return data but leave it in the socket queue */
+
 /*
  * \}
  */