Skip to content

Commit

Permalink
20171214
Browse files Browse the repository at this point in the history
  • Loading branch information
liangdc committed Dec 14, 2017
1 parent 96a3fa2 commit 082f6a3
Show file tree
Hide file tree
Showing 417 changed files with 121,550 additions and 356 deletions.
65 changes: 65 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

*.sh text eol=lf
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ readme/
.vs/

# include directory symbolic link files
Linux/Include/
Linux/include/
Linux/lib/**/*.so.*
Binary file added Doc/HP-Socket Class Diagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Binary file added Doc/HP-Socket Development Guide.pdf
Binary file not shown.
File renamed without changes
File renamed without changes
7 changes: 3 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* Copyright JessMA Open Source (ldcsaa@gmail.com)
*
* Author : JessMA Open Source
* 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
* 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.
Expand All @@ -19,5 +19,4 @@
* 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.
*/

*/
3 changes: 3 additions & 0 deletions Linux/Change-APIs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ======================================== #
HP-Socket v1.0.0 API Update List:
# ======================================== #
19 changes: 19 additions & 0 deletions Linux/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
==========================================================================================
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)
File renamed without changes.
21 changes: 17 additions & 4 deletions Linux/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
HP-Socket for Linx
========

Coming Soon ...
# 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
-----------------+------------------------------------------------
```
Binary file added Linux/demo/Release/x64/hp-testecho-agent.exe
Binary file not shown.
Binary file added Linux/demo/Release/x64/hp-testecho-client.exe
Binary file not shown.
Binary file added Linux/demo/Release/x64/hp-testecho-lib-agent.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Linux/demo/Release/x64/hp-testecho-pfm-agent.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Linux/demo/Release/x64/hp-testecho-server.exe
Binary file not shown.
Binary file added Linux/demo/Release/x64/hp-testecho-udp-cast.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Linux/demo/Release/x86/hp-testecho-agent.exe
Binary file not shown.
Binary file added Linux/demo/Release/x86/hp-testecho-client.exe
Binary file not shown.
Binary file added Linux/demo/Release/x86/hp-testecho-lib-agent.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Linux/demo/Release/x86/hp-testecho-pfm-agent.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Linux/demo/Release/x86/hp-testecho-server.exe
Binary file not shown.
Binary file added Linux/demo/Release/x86/hp-testecho-udp-cast.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 082f6a3

Please sign in to comment.