Browse Source

-bool

pass-iguana-arg
jl777 7 years ago
parent
commit
e511a96a76
  1. 2
      iguana/exchanges/LP_socket.c

2
iguana/exchanges/LP_socket.c

@ -26,7 +26,7 @@
#include <WinSock2.h>
#endif
int32_t set_blocking_mode(int32_t sock,bool is_blocking) // from https://stackoverflow.com/questions/2149798/how-to-reset-a-socket-back-to-blocking-mode-after-i-set-it-to-nonblocking-mode?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
int32_t set_blocking_mode(int32_t sock,int32_t is_blocking) // from https://stackoverflow.com/questions/2149798/how-to-reset-a-socket-back-to-blocking-mode-after-i-set-it-to-nonblocking-mode?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
{
bool ret = true;
#ifdef WIN32

Loading…
Cancel
Save