summaryrefslogtreecommitdiffstats
path: root/src/client.c
AgeCommit message (Collapse)AuthorFilesLines
2018-05-15client: Set socket options for client connections to improve performanceGravatar Nikias Bassen1-0/+12
2017-12-28client: Plug memory leakGravatar Rudolf Tammekivi1-0/+1
2015-07-31send_system_buid: fix leak of buid string returned by config_get_system_buid.Gravatar Aaron Burghardt1-0/+1
2014-11-12Use non-blocking sockets for client communicationGravatar Nikias Bassen1-1/+22
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.
2014-11-12Revert "client: Make sure fd is writable before calling send() to avoid ↵Gravatar Nikias Bassen1-18/+1
blocking" This reverts commit 23ecea077d8f22d9da5cae50df3e2ff3406fee90.
2014-11-11client: Make sure fd is writable before calling send() to avoid blockingGravatar Nikias Bassen1-1/+18
2014-11-11Get USB speed for device and use it for device attached client messageGravatar Martin Szulecki1-2/+1
2014-11-11client: Remove invalid line feed from log messageGravatar Nikias Bassen1-1/+1
2014-11-11client: Log pid of connecting clients (if supported)Gravatar Nikias Bassen1-0/+16
2014-10-06Update and slightly cleanup copyright headersGravatar Martin Szulecki1-19/+18
2014-05-27client: Fix crash that occured when receiving client command from old clientGravatar Martin Szulecki1-0/+5
2014-03-24client: add a bunch of comments and function docsGravatar Mikkel Kamstrup Erlandsen1-0/+35
2014-03-24Use plist_dict_set_item() instead of deprecated plist_dict_insert_item()Gravatar Martin Szulecki1-16/+16
2014-01-10client: fix realloc in send_pkt() that made the buffer smaller instead of largerGravatar Nikias Bassen1-4/+10
2014-01-09device/client: make device_get_list() allocate the result buffer itselfGravatar Nikias Bassen1-23/+19
Using device_get_count() and device_get_list() separately can return different device counts in case there are devices added to the list inbetween these two function calls. To prevent this, device_get_list() will allocate the buffer by itself.
2014-01-09client: fix 64-bit crash in process_send due to signed/unsigned fooGravatar Nikias Bassen1-2/+2
2013-12-27client: plug several memory leaksGravatar Nikias Bassen1-1/+6
2013-12-23enlarge input+output buffer sizes.Gravatar Nikias Bassen1-13/+10
2013-12-13client: implemented ReadBUID, ReadPairRecord, SavePairRecord, and ↵Gravatar Nikias Bassen1-0/+107
DeletePairRecord commonds
2013-12-13make libplist/protov1 support mandatoryGravatar Nikias Bassen1-29/+3
2013-12-11client: return proper error packet on client version mismatchGravatar Nikias Bassen1-14/+11
2013-12-11fix compilation when compiling without plist supportGravatar Nikias Bassen1-0/+2
2013-12-10client: implemented "ListDevices" commandGravatar Nikias Bassen1-12/+55
2013-12-10client: add send_plist_pkt helper to remove code duplicationGravatar Nikias Bassen1-28/+19
2013-12-09client: also add DeviceID to main dictionary for Attached messageGravatar Nikias Bassen1-0/+1
2013-09-30client: added mutex around client_list accessGravatar Nikias Bassen1-1/+17
2013-09-19make sure usbmuxd -x does not terminate when unpaired devices are still presentGravatar Nikias Bassen1-2/+2
2013-09-19added preflight worker implementation to handle initial device pairingGravatar Nikias Bassen1-0/+1
2013-09-17silence several compiler warningsGravatar Nikias Bassen1-2/+2
2013-09-17remove libusbmuxd sources and adapt source tree to use autotoolsGravatar Nikias Bassen1-0/+616
libusbmuxd has been split off and is now managed in a separate repository. By the time of this commit, the repository is: git clone http://git.sukimashita.com/libusbmuxd.git