Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-05-18 | socket: Make sure fd is ready to write before calling send() | Nikias Bassen | 1 | -0/+4 | |
2020-05-18 | socket: Add new functions socket_connect_addr() and socket_addr_to_string() | Nikias Bassen | 1 | -10/+183 | |
2020-05-15 | socket: Make connecting sockets non-blocking | Nikias Bassen | 1 | -11/+31 | |
2019-08-03 | win32: Fix compilation | Nikias Bassen | 1 | -0/+3 | |
2019-06-13 | socket: Return -ETIMEDOUT when select() in socket_read_fd() reached the timeout | Nikias Bassen | 1 | -0/+4 | |
2019-05-21 | socket: Return -ECONNRESET from socket_receive_timeout() instead of -EAGAIN ↵ | Nikias Bassen | 1 | -1/+5 | |
if peer closed the socket Returning -EAGAIN would indicate the caller can try again, but if the peer closed the socket that wouldn't make any sense. Thanks to sctol for reporting. | |||||
2019-05-21 | socket: Move initialization of timeval structure into retry loop in ↵ | Nikias Bassen | 1 | -8/+7 | |
socket_check_fd() Depending on the platform, select() may modify the timeval structure to indicate the amount left on the timer, so we reset the timeout before calling select() again. Thanks to sctol for reporting. | |||||
2018-10-21 | socket: Make sure to use socket_close() really everywhere | Nikias Bassen | 1 | -1/+1 | |
2018-10-19 | Use socket_close instead of close to close a socket | Frederik Carlier | 1 | -1/+1 | |
2018-10-14 | Allow using non-standard usbmuxd socket address via environment variable | Nikias Bassen | 1 | -31/+82 | |
By using USBMUXD_SOCKET_ADDRESS environment variable, it is possible to make libusbmuxd connect to the specified address. The value needs to be in format ADDRESS:PORT (or UNIX:PATH on unix systems). If no port number is specified or parsing fails, the standard socket address (or unix domain socket file path) will be used silently. | |||||
2018-09-25 | Fix compile warnings | BALATON Zoltan | 1 | -4/+4 | |
2018-07-24 | common: Get rid of offsetof() and just use sizeof() to get size of unix ↵ | Nikias Bassen | 1 | -21/+6 | |
socket address | |||||
2018-05-15 | socket: Set socket options for usbmux connection to improve performance | Nikias Bassen | 1 | -0/+23 | |
2015-12-29 | common: [security fix] Make sure sockets only listen locally | Joshua Hill | 1 | -2/+2 | |
2014-10-03 | Move socket and collection functions to a convenience library | Chow Loong Jin | 1 | -0/+435 | |
This avoids the iproxy tool from relying on undocumented library ABI. |