forked from ldcsaa/HP-Socket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
liangdc
committed
Dec 14, 2017
1 parent
96a3fa2
commit 082f6a3
Showing
417 changed files
with
121,550 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,5 +48,4 @@ readme/ | |
.vs/ | ||
|
||
# include directory symbolic link files | ||
Linux/Include/ | ||
Linux/include/ | ||
Linux/lib/**/*.so.* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
960 changes: 627 additions & 333 deletions
960
...ws/Doc/HP-Socket Class Diagram - v5.0.uml → Doc/HP-Socket Class Diagram.uml
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ======================================== # | ||
HP-Socket v1.0.0 API Update List: | ||
# ======================================== # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
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 not shown.
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 not shown.
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 not shown.
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 not shown.
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.