diff options
Diffstat (limited to 'libusbmuxd/sock_stuff.h')
| -rw-r--r-- | libusbmuxd/sock_stuff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libusbmuxd/sock_stuff.h b/libusbmuxd/sock_stuff.h index 5405b04..db90385 100644 --- a/libusbmuxd/sock_stuff.h +++ b/libusbmuxd/sock_stuff.h | |||
| @@ -38,7 +38,9 @@ int create_unix_socket(const char *filename); | |||
| 38 | int connect_unix_socket(const char *filename); | 38 | int connect_unix_socket(const char *filename); |
| 39 | #endif | 39 | #endif |
| 40 | int create_socket(uint16_t port); | 40 | int create_socket(uint16_t port); |
| 41 | #if defined(WIN32) || defined(__CYGWIN__) | ||
| 41 | int connect_socket(const char *addr, uint16_t port); | 42 | int connect_socket(const char *addr, uint16_t port); |
| 43 | #endif | ||
| 42 | int check_fd(int fd, fd_mode fdm, unsigned int timeout); | 44 | int check_fd(int fd, fd_mode fdm, unsigned int timeout); |
| 43 | 45 | ||
| 44 | int recv_buf(int fd, void *data, size_t size); | 46 | int recv_buf(int fd, void *data, size_t size); |
