Skip to content
Snippets Groups Projects
Commit 1406db12 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

It appears that in Win64, SOCKET is a long long.

No more using the standard int type and having it work.
Thanks Microsoft.
parent 799970d0
No related branches found
No related tags found
No related merge requests found
Pipeline #5904 passed
...@@ -362,7 +362,7 @@ conn_send(const void *vbuffer, size_t buflen, unsigned int timeout) ...@@ -362,7 +362,7 @@ conn_send(const void *vbuffer, size_t buflen, unsigned int timeout)
return found; return found;
} }
int SOCKET
conn_connect(struct bbslist *bbs) conn_connect(struct bbslist *bbs)
{ {
char str[64]; char str[64];
......
...@@ -86,7 +86,7 @@ struct conn_buffer { ...@@ -86,7 +86,7 @@ struct conn_buffer {
int conn_recv_upto(void *buffer, size_t buflen, unsigned int timeout); int conn_recv_upto(void *buffer, size_t buflen, unsigned int timeout);
int conn_send(const void *buffer, size_t buflen, unsigned int timeout); int conn_send(const void *buffer, size_t buflen, unsigned int timeout);
int conn_send_raw(const void *buffer, size_t buflen, unsigned int timeout); int conn_send_raw(const void *buffer, size_t buflen, unsigned int timeout);
int conn_connect(struct bbslist *bbs); SOCKET conn_connect(struct bbslist *bbs);
int conn_close(void); int conn_close(void);
bool conn_connected(void); bool conn_connected(void);
size_t conn_data_waiting(void); size_t conn_data_waiting(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment