quamotion / madb

SharpAdbClient is a .NET library that allows .NET applications to communicate with Android devices. It provides a .NET implementation of the adb protocol, giving more flexibility to the developer than launching an adb.exe process and parsing the console output.
Apache License 2.0
361 stars 133 forks source link

Async methods in TcpSocket #196

Open alexandru-bagu opened 4 years ago

alexandru-bagu commented 4 years ago

Added additional async methods as well as a ReceiveTimeout property to TcpSocket. This will allow the developer to choose what to do when an operation is taking longer than expected. Additionally added socket.Dispose in TcpSocket.Reconnect to prevent hanging sockets.