summaryrefslogtreecommitdiffstats
path: root/src/usb-linux.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-11-12 19:53:06 +0100
committerGravatar Nikias Bassen2014-11-12 19:53:06 +0100
commita3cae2b7a3dfe8120f2a65a1fae8640bb4f095a5 (patch)
tree855adf6fdeb4dd526ddd549ecb5a5a3bcce5241d /src/usb-linux.c
parenta5e57e872bb5be8b13d3497f2c07fff8a8e37f3f (diff)
downloadusbmuxd-a3cae2b7a3dfe8120f2a65a1fae8640bb4f095a5.tar.gz
usbmuxd-a3cae2b7a3dfe8120f2a65a1fae8640bb4f095a5.tar.bz2
Use non-blocking sockets for client communication
This approach is better than using blocking sockets and select() since there's no guarantee that send() doesn't block. Plus we're using poll() anyway so send() and recv() will only be called if the socket is actually ready for writing/reading.
Diffstat (limited to 'src/usb-linux.c')
0 files changed, 0 insertions, 0 deletions