]> git.meshlink.io Git - meshlink/blobdiff - src/net_socket.c
windows compatibility
[meshlink] / src / net_socket.c
index d5786e5bc24c15be129f0abe508326ca90b0459a..55e7d31540a9188a5d4df13f73bcbde19d2cd121 100644 (file)
 #define SOL_TCP IPPROTO_TCP
 #endif
 
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+
 int addressfamily = AF_UNSPEC;
 int seconds_till_retry = 5;
 int max_connection_burst = 100;