OkSocket Document

An blocking socket client for Java application or Andorid.

Open source licenses

Basic Socket Library

Socket Server Plugin Library

中文在线文档

OkEchoServer Open Source

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.

OkSocket Introduce OkSocket 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.

Feature

SocketClient Tcp IPV4 Connect

Socket Standard Protocol

SocketClient Reconnect

SocketClient Heartbeat

Socket Sticky Unpacking

Socket SSL Socket Support

Client Callback In Thread / Main Thread

Socket Client Redirect

SocketServer Support

Instructions

OkSocket instruction manual WIKI

Add the following configuration to the build.gradle file under the project project.

allprojects {

repositories {

jcenter()

}

}

Make 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.

dependencies {

//Basic Socket client functionality

api 'com.tonystark.android:socket:latest.release'

//If you want to use server functionality, you need to compile the following libraries

api 'com.tonystark.android:socket-server:latest.release'

}

Policy

Copyright [2018] [徐昊]

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

android socket第三方库,OkSocket 一个Android轻量级Socket通讯框架相关推荐

  1. cocos2dx使用了第三方库照样移植android平台-解决iconv库的移植问题

    好记性不如烂笔头 cocos2dx使用了第三方库照样移植android平台-解决iconv库的移植问题 http://www.zaojiahua.com/iconv.html

  2. 《教我兄弟学Android逆向01 编写第一个Android程序》

    前言 之所以准备写这一系列逆向的教程是因为有一些同学私信我说自己想学习Android逆向但是不知道怎么去学习 包括自己身边的一些计算机专业的同学 在大学里面老师讲的那些东西要么是自己不感兴趣 要么是自 ...

  3. 《教我兄弟学Android逆向03 破解第一个Android游戏 》

    上一篇 <教我兄弟学Android逆向02  破解第一个Android程序  >我带着你破解了我们自己编的一个小程序 里面我分析并讲解的一些smali语法你都记住了 给你布置的课后作业你发 ...

  4. Android 第三方库--2017年Android开源项目及库汇总

    转自:http://blog.csdn.net/jsonnan/article/details/62215287 东西有点多,但是资源绝对nice,自己都全部亲身体验过了,大家可放心使用 github ...

  5. android广播第三方库,Android Support 库:LocalBroadcastManager

    在介绍完 Android Support 库发展历程(http://blog.chengyunfeng.com/?p=1047)后, 再分别介绍下 Android Support 库中有用但是被忽略的 ...

  6. android移植第三方库,android移植第三方库

    本文介绍如何使用 Android NDK(r7) 设置 Android 本地代码编译工具链,如何根据 Makefile 编写 Android.mk,并以 ffmpeg(0.8.5) 为例子介绍如何使用 ...

  7. android库项目管理,一个android工程代码多个差异化项目管理方法探讨

    一个android工程代码多个差异化项目管理方法探讨 核心提示: 1.工程代码中尽量不要使用产品名称.设备名称之类的东西来区分,尽量以功能名称来区分,在工程独立的配置文件中再去配置这个文件: 2.在c ...

  8. android ndk 动态库_百度经验,android ndk 动态库

    android ndk开发经常遇到了动态库的问题,本文主要介绍: ① 动态链接库的生成: ② 在Java和C混合编程的情况下如何调用第三方动态链接库: ③ 通过jar包的方式间接调用第三方动态链接库: ...

  9. android java 静态库_android的android.mk,和application.mk文件编写

    android的android.mk,和application.mk文件编写 1.简介 android.mk是用来描述要编译某个具体的模块,所需要的一些资源,包括要编译的源码.要链接的库等等 appl ...

最新文章

  1. 带哨兵节点的链_【算法导论】10.2不带哨兵节点和带哨兵节点的双向链表
  2. 华为某员工感慨:岗位太闲想离职,基本不加班!
  3. java 网络实验_Java实验五网络编程与安全
  4. python常用标准库有哪些-Python开发中常用的标准库
  5. php在什么方面使用使用队列,你知道在什么情况下使用队列吗?
  6. .NET Core with 微服务 - Elastic APM
  7. WinForm中使用WPF的控件
  8. jQuery的getter和setter
  9. python3.7怎么安装wsgiref_python3.x - python3使用wsgiref时环境变量出现乱码
  10. 总结一下java并发包的学习
  11. C++中toupper、tolower 、isalpha、isalnum、isdigit、islower、isupper、isblank、isspace的用法
  12. 企业服务器系统怎么做,如何搭建一个小型企业服务器机房?6个步骤学起来!...
  13. Java开发知识点!mysql运行sql文件很慢
  14. 关于网络游戏的影响(腾讯游戏)
  15. 「Do.024」如何更高效使用MacBook
  16. PacBio相关知识
  17. 全面梳理:准确率,精确率,召回率,查准率,查全率,假阳性,真阳性,PRC,ROC,AUC,F1
  18. pycharm新建python项目等问题
  19. Telegram-This phone number is banned.手机号被禁止解决方法
  20. 一个牛B程序员的奋斗

热门文章

  1. html前端开发作品,Web前端开发(HTML5+CSS3)
  2. 通过日志分析mysql访问量,Mysql 慢查询和慢查询日志分析
  3. python如何对excel排序_Python操作Excel之分组排序
  4. C++ 基于凸包的Delaunay三角网生成算法
  5. JavaMail实践--实现邮件发送
  6. 境内银行卡磁条信息格式
  7. POJ 3071 概率DP
  8. Mosquitto搭建Android推送服务番外篇一:各种报错解决
  9. PHP四种基本排序算法
  10. 用SqlConnectionStringBuilder修改连接超时时间