summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/sock_stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd/sock_stuff.c')
-rw-r--r--libusbmuxd/sock_stuff.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libusbmuxd/sock_stuff.c b/libusbmuxd/sock_stuff.c
index edc738e..609c8ad 100644
--- a/libusbmuxd/sock_stuff.c
+++ b/libusbmuxd/sock_stuff.c
@@ -321,6 +321,11 @@ int check_fd(int fd, fd_mode fdm, unsigned int timeout)
321 return sret; 321 return sret;
322} 322}
323 323
324int shutdown_socket(int fd, int how)
325{
326 return shutdown(fd, how);
327}
328
324int close_socket(int fd) { 329int close_socket(int fd) {
325#ifdef WIN32 330#ifdef WIN32
326 return closesocket(fd); 331 return closesocket(fd);