Skip to content

Commit

Permalink
20180503
Browse files Browse the repository at this point in the history
  • Loading branch information
liangdc committed May 3, 2018
1 parent dd6e78a commit 9544e06
Show file tree
Hide file tree
Showing 2,266 changed files with 442,467 additions and 0 deletions.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright JessMA Open Source (ldcsaa@gmail.com)
*
* Author : Bruce Liang
* Website : http://www.jessma.org
* Project : https://github.com/ldcsaa
* Blog : http://www.cnblogs.com/ldcsaa
* Wiki : http://www.oschina.net/p/hp-socket
* QQ Group : 75375912, 44636872
*
* 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.
*/
9 changes: 9 additions & 0 deletions Linux/Change-APIs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ======================================== #
HP-Socket v5.2.1 API Update List:
# ======================================== #

1. Add all functions for SSL & HTTP components

# ======================================== #
HP-Socket v1.0.0 API Update List:
# ======================================== #
65 changes: 65 additions & 0 deletions Linux/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
==========================================================================================
v5.3.1 Update:
==========================================================================================

> Android NDK supported
-----------------
1. all components are compatible with Android NDK
2. provide _ZLIB_DISABLED precompiled macro to disable zlib functions
3. provide _ICONV_DISABLED precompiled macro to disable iconv functions

> Regular Update
-----------------
1. http-parser upgrade to version 2.8.1, and reference it using source code
2. jemalloc upgrade to version 5.0.1
3. openssl upgrade to version 1.1.0h

==========================================================================================
v5.2.1 Update:
==========================================================================================

> Create HP-Socket SSL Components
-----------------
1. Server: SSL Server, SSL Pull Server, SSL Pack Server
2. Agent: SSL Agent, SSL Pull Agent, SSL Pack Agent
3. Client: SSL Client, SSL Pull Client, SSL Pack Client

> Create HP-Socket HTTP Components
-----------------
1. Server: HTTP Server, HTTPS Server
2. Agent: HTTP Agent, HTTP Agent
3. Client: HTTP Client, HTTP Client, HTTP Sync Client, HTTPS Sync Client

> Create Demos:
-----------------
1. testecho-ssl: (SRC) SSL simple test echo server/agent/client
2. testecho-ssl-pfm: (SO) SSL performance test echo server/agent/client
3. testecho-ssl-pull: (SO) SSL pull echo server/agent/client
4. testecho-ssl-pack: (4C SO) SSL pack echo server/agent/client
5. testecho-http: (SRC) HTTP simple test echo server/agent/client/sync-client
6. testecho-http-4c: (4C SO) HTTP simple test echo server/agent/client/sync-client

> Other Updates:
-----------------
1. Version number revision: Use a unified version number for Windows & Linux distribution
2. Code optimization and knowing bug fixed

==========================================================================================
v1.0.0 Update:
==========================================================================================

> Create HP-Socket Basic Components
-----------------
1. Server: TCP Server, TCP Pull Server, TCP Pack Server, UDP Server
2. Agent: TCP Agent, TCP Pull Agent, TCP Pack Agent
3. Client: TCP Client, TCP Pull Client, TCP Pack Client, UDP Client, UDP Cast

> Create Demos:
-----------------
1. testecho: tcp simple test echo server/agent/client
2. testecho-pfm: tcp performance test echo server/agent/client
3. testecho-pull: tcp pull echo server/agent/client
4. testecho-pack: tcp pack echo server/agent/client
5. testecho-udp: udp simple echo server/client/cast
6. testecho-udp-pfm: udp performance test echo server/client
7. testecho-lib: tcp pull echo server/agent/client (use hpsocket.so and hpsocket4c.so)
22 changes: 22 additions & 0 deletions Linux/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright JessMA Open Source (ldcsaa@gmail.com)
*
* Author : Bruce Liang
* Website : http://www.jessma.org
* Project : https://github.com/ldcsaa
* Blog : http://www.cnblogs.com/ldcsaa
* Wiki : http://www.oschina.net/p/hp-socket
* QQ Group : 75375912, 44636872
*
* 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.
*/
17 changes: 17 additions & 0 deletions Linux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# HP-Socket for Linx
    The exported API of HP-Socket for Linux is consistent with HP-Socket for Windows, but the implementation code is completely separated. HP-Socket for Linux uses the features of the *C++14* standard, and thus needs to be compiled by a compiler which version is *GCC 5.x* and above.
    The distribution packages of HP-Socket contains a series of Visual Studio Solutions, which were used to compile HP-Socket components and demos, you can compile them by yourself after install and configure the [*Visual C++ for Linux Development*](https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/) plug-in. Of course, you can write your own Makefile file to compile these codes.
    Note: the compilation and execution environments of HP-Socket requires Linux kernel version *2.6.32* and above.
## Installation
```
$ sudo ./install.sh -h
Usage: install.sh [...O.P.T.I.O.N.S...]
-----------------+------------------------------------------------
-p|--prefix : install/uninstall path (default: /usr/local)
-l|--libdir : lib dir (default: x86 -> lib, x64 -> lib64)
-d|--with-demo : install demos or not (default: true)
-u|--uninstall : execute uninstall operation from install path
-v|--version : print installing hp-socket version
-h|--help : print this usage message
-----------------+------------------------------------------------
```
17 changes: 17 additions & 0 deletions Linux/demo/Android-Build-Demo/NOTreadme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# �ⲻ��˵���ļ�



�ȶ��� PATH ·���������湤�ߵ�binĿ¼���ý���
Ȼ��ָ��C++����������make
�����ڣ�
CXX=arm-linux-androideabi-g++ AR=arm-linux-androideabi-ar make
ֻ�е����ɾ�̬���ʱ����� AR ѡ��
CXXFLAGS ��òο� makefile ��������ã���Ȼ�Ų�����
��ʵ������ο��� makefile ��������ó���������Ҳ���Ḻ��ģ���������Ϊ��û��Ůװ

## ���� BUG ����Ůװ��������

### ������ makefile ��������

��������Ϸ�����棬����С˵���ÿ���Ҫ��ѧ��̣�
Loading

0 comments on commit 9544e06

Please sign in to comment.