summaryrefslogtreecommitdiffstats
path: root/main.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-08Some more debugging output and more mutexes to help resolve theGravatar Nikias Bassen1-4/+26
f***ing SIGSEVs.
2009-03-04Modified handshake sequence so that connect request can be made withoutGravatar Nikias Bassen1-45/+69
prior hello, just as the usbmux-proxy utitliy does and most likely the original usbmuxd works too: - client opens a first connection to usbmuxd, sends hello, and receives the device list in return - client opens a second connection, sends a connect request and after successful connect the data packets are transferred via this connection. So the second connection does not begin with a hello but with a connection request directly -- currently the first connection still waits for a connect request but closes down if nothing is received. Changed all stdout to stderr in main.c
2009-02-27Removed the (already commented out) reader_mutex, as it is not needed, and ↵Gravatar Nikias Bassen1-12/+0
iphone_mux_pullbulk is only running once per device and the iphone_mux_recv_timeout function does it's own locking.
2009-02-271) Now, every device is only handled by one thread for bulk usb readingGravatar Nikias Bassen1-73/+110
instead of one thread for each connection to the same device. 2) Removed usbmuxd_accept_thread and moved code into main() directly.
2009-02-26proper multi-device support (untested)Gravatar Nikias Bassen1-18/+23
2009-02-25A Readme, Makefile updates and cosmetic changes.Gravatar Paul Sladen1-0/+853