An blocking socket client for Android applications.
1.Fixed the issue of getHeaderLength() being called multiple times on a single read of data to better support dynamic header length 2.The ability to get and set local ports has been added
1.OkSocket has removed all android.jar dependencies. 2.fix a lot of bus in Server code. 3.Independent thread callback. 4.Performance optimization
1.OkSocket can notify status on the thread which is not the main thread. 2.fix the bug #104
1.OkSocket provide server support in Android client. 2.Optimized interfaces and library structures to better support componentization
1.Improve the thread scheduling performance in multi-socket communication, solve the problem of multi-thread anr 2.Optimize readability
1.Fix analysis header return -1 bugs. 2.Reconnect callback the ConnectInfo wrong.
Thanks @fmworld provide the merge request to fix the bug #43 .