You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: this declaration has no storage class or type specifier
after changed:
HANDLE thread;
SOCKET sockets[2];
in read_bytes function
total += recv(sockets[1], &buf[total], (int)(numbytes - total), 0);
argument of type "char (*)[81920]" is incompatible with parameter of type "char *"
buf is a point to point, why use &buf[total].
After changed:
total += recv(sockets[1], buf[total], (int)(numbytes - total), 0);
build and result
When build this project, then call init[] in q thread,sometime it said:wsfull;
sometime it crached. I don't know why, now I try to solve it.Could have some one face this problem? Thanks.
The text was updated successfully, but these errors were encountered:
using this project some errors in my environment
environment
errors
#pragma comment(lib, "Ws2_32.lib")
error: this declaration has no storage class or type specifier
after changed:
HANDLE thread; SOCKET sockets[2];
argument of type "char (*)[81920]" is incompatible with parameter of type "char *"
buf is a point to point, why use &buf[total].
After changed:
build and result
When build this project, then call init[] in q thread,sometime it said:wsfull;
sometime it crached. I don't know why, now I try to solve it.Could have some one face this problem? Thanks.
The text was updated successfully, but these errors were encountered: