Problem: syntax error on Windows related to socket descriptor type

Solution: use proper fd_t type, and also define and use a zmq_fd_t in the API
This commit is contained in:
Simon Giesecke
2019-05-09 07:21:08 -04:00
parent d3f52b2b91
commit 63c4d8be78
5 changed files with 25 additions and 34 deletions

View File

@@ -76,7 +76,7 @@ class socket_poller_t
int modify_fd (fd_t fd_, short events_);
int remove_fd (fd_t fd_);
// Returns the signaler's fd if there is one, otherwise errors.
int signaler_fd ();
fd_t signaler_fd ();
int wait (event_t *event_, int n_events_, long timeout_);