{"id":13989115,"url":"https://github.com/xuuhaoo/OkSocket","last_synced_at":"2025-07-22T10:31:06.840Z","repository":{"id":40622610,"uuid":"106712243","full_name":"xuuhaoo/OkSocket","owner":"xuuhaoo","description":"An blocking socket client for Android applications.","archived":false,"fork":false,"pushed_at":"2020-01-10T09:40:20.000Z","size":6278,"stargazers_count":2587,"open_issues_count":38,"forks_count":431,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-05-22T14:08:16.618Z","etag":null,"topics":["android","android-server","android-server-json","android-socket","android-socket-server","android-socketio-client","android-tcp-server","client","server","server-side","socket","socket-io","socket-server","tcp","tcp-client","tcp-server","tcp-socket"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuuhaoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-12T15:37:38.000Z","updated_at":"2025-05-22T11:07:38.000Z","dependencies_parsed_at":"2022-07-31T23:48:41.057Z","dependency_job_id":null,"html_url":"https://github.com/xuuhaoo/OkSocket","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/xuuhaoo/OkSocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuuhaoo%2FOkSocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuuhaoo%2FOkSocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuuhaoo%2FOkSocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuuhaoo%2FOkSocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuuhaoo","download_url":"https://codeload.github.com/xuuhaoo/OkSocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuuhaoo%2FOkSocket/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266475009,"owners_count":23934855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-server","android-server-json","android-socket","android-socket-server","android-socketio-client","android-tcp-server","client","server","server-side","socket","socket-io","socket-server","tcp","tcp-client","tcp-server","tcp-socket"],"created_at":"2024-08-09T13:01:31.692Z","updated_at":"2025-07-22T10:31:05.640Z","avatar_url":"https://github.com/xuuhaoo.png","language":"Java","readme":"# OkSocket Document\nAn blocking socket client for Java application or Andorid.\n\n| [![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0) | [![Download](https://api.bintray.com/packages/xuuhaoo/maven/OkSocket/images/download.svg)](https://bintray.com/xuuhaoo/maven/OkSocket/_latestVersion) | [![Download](https://api.bintray.com/packages/xuuhaoo/maven/ServerImpl/images/download.svg)](https://bintray.com/xuuhaoo/maven/ServerImpl/_latestVersion) |\n| :------: | :------: | :------: |\n| `Open source licenses` | `Basic Socket Library` | `Socket Server Plugin Library` |\n\n\n### 中文在线文档\n* 为了照顾中国同学的使用,提供了中文的说明文档:\nhttps://www.jianshu.com/p/8ee3ee766265\n\n### OkEchoServer Open Source\n* Because the echo server already out of service.ofcause online server is not working properly, we decided to open source, hoping let more people who need point-to-point, mobile-to-mobile communication to get more help.\n\n[OkEchoServer Source](https://github.com/xuuhaoo/OkEchoServer)\n\n### OkSocket Introduce\n\u003cfont size=2\u003e\nOkSocket is a Java library project designed to solve lightweight Socket communication, in order to enable developers to focus more on business logic, rather than TCP communication principles and some protocols. Make Socket communication more beautiful, suitable for large, medium and small Project, the rapid development of stable, maintainable, reliable Socket connection.\n\u003c/font\u003e\n\n### Feature\n- SocketClient Tcp IPV4 Connect\n- Socket Standard Protocol \n- SocketClient Reconnect\n- SocketClient Heartbeat \n- Socket Sticky Unpacking\n- Socket SSL Socket Support\n- Client Callback In Thread / Main Thread\n- Socket Client Redirect\n- SocketServer Support\n\n\n### Instructions\n\n* OkSocket instruction manual [WIKI](https://github.com/xuuhaoo/OkSocket/wiki/What-Is-OkSocket-Is)\n\n* \u003cfont size=2\u003eAdd the following configuration to the build.gradle file under the project project.\u003c/font\u003e\n    \n```groovy\nallprojects {\n    repositories {\n        jcenter()\n    }\n}\n```\n* \u003cfont size=2\u003eMake sure you have already done with put JCenter into repositories blocking in project Gradle files than you need add the following configuration to the module's build.gradle file.\u003c/font\u003e\n\n```groovy\ndependencies {\n\t//Basic Socket client functionality\n\tapi 'com.tonystark.android:socket:latest.release'\n\t//If you want to use server functionality, you need to compile the following libraries\n\tapi 'com.tonystark.android:socket-server:latest.release'\n}\n```\n\n### Policy\n\n```\n   Copyright [2018] [徐昊]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n     http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n```\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","funding_links":[],"categories":["Java","网络编程"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuuhaoo%2FOkSocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuuhaoo%2FOkSocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuuhaoo%2FOkSocket/lists"}