-
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.
* typos * memory leak detection with valgrind * data types * doc * reovered IL and systests * M_Base private * minor before removal of include guards * removed include guards -> #pragma once * getting into tcp * ref #58: TCP features build untested * ref #58: submodules? * ref #58: submodules? * ref #58: submodules? * ref #58: just builds, no test failures * ref #58: just builds, working on coverage * ref #58: just builds, working on coverage * ref #58: just builds and runs, working on coverage * ref #58: just builds and runs, working on coverage * ref #58: just builds and runs, working on coverage * ref #58: coverage should be ok now; some methods not yet implemented * ref #58: interim * ref #58: interim: renaming * ref #58: establishing runtime tests * ref #58: establishing runtime tests * ref #58: added coverage; establishing system tests * ref #58: added coverage; establishing system tests * ref #58: added coverage; establishing system tests * ref #58: added coverage; establishing system tests * ref #58: more system tests; renameing would make sense * ref #57, #58: removed old system tests, renamed others * ref #57, #58: findings rework * ref #57, #58: findings rework: removed the plugs * ref #57, #58: findings rework * ref #57, #58: mainly system tests * ref #57, #58: interim * ref #57, #58: interim * ref #57, #58: Log enables error output * ref #57, #58: system tests also run on win * ref #57, #58: more or less stable state * ref #57, #58: sys tests linux / win * ref #57, #58: doc * ref #57, #58: doc, instances * ref #57, #58: doc, instances * ref #57, #58: link to submodule * ref #57, #58: mainly doc * ref #57, #58 * ref #57, #58: review rework * ref #57, #58: review rework * ref #57, #58: review rework
- Loading branch information
Showing
136 changed files
with
11,983 additions
and
11,167 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 |
---|---|---|
|
@@ -11,4 +11,5 @@ | |
*.mdj text eol=lf | ||
*.md text eol=lf | ||
*.make text eol=lf | ||
.git* 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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[submodule "cpputest"] | ||
path = cpputest | ||
url = [email protected]:cpputest/cpputest.git | ||
[submodule "CppUTestSteps"] | ||
path = CppUTestSteps | ||
url = [email protected]:sorgom/CppUTestSteps.git | ||
branch = dev | ||
[submodule "cpputest"] | ||
path = cpputest | ||
url = [email protected]:cpputest/cpputest.git |
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
Submodule CppUTestSteps
updated
2 files
+0 −6 | TestSteps/include/TestSteps/TestSteps.h | |
+0 −4 | TestSteps/include/TestSteps/TestStepsPlugin.h |
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
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
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
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,43 @@ | ||
// ============================================================ | ||
// implementation TCP base system | ||
// ============================================================ | ||
// created by Manfred Sorgo | ||
|
||
#pragma once | ||
|
||
#include <ifs/I_TCP.h> | ||
#include <BAS/coding.h> | ||
|
||
class TCP : public I_TCP | ||
{ | ||
public: | ||
void setTimeout(UINT32 ms); | ||
|
||
bool init(); | ||
|
||
void cleanup(); | ||
|
||
INT32 socket() const; | ||
|
||
bool bind(INT32 socket, UINT16 port) const; | ||
|
||
bool listen(INT32 socket) const; | ||
|
||
INT32 select(INT32 socket) const; | ||
|
||
INT32 accept(INT32 socket) const; | ||
|
||
INT32 recv(INT32 socket, PTR buffer, size_t size) const; | ||
|
||
INT32 send(INT32 socket, CPTR buffer, size_t size) const; | ||
|
||
void close(INT32& socket) const; | ||
|
||
INSTANCE_DEC(TCP) | ||
|
||
NOCOPY(TCP) | ||
private: | ||
TCP() = default; | ||
UINT32 mSec = 0; | ||
UINT32 mMicro = 10000; | ||
}; |
Oops, something went wrong.