Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect email on my past comment. #44

Closed
wants to merge 258 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
c8c549e
simplifying cmake structure
andreacasalino Jan 29, 2021
0925fee
refactoring
andreacasalino Jan 30, 2021
2d22650
async reintroduced
andreacasalino Jan 30, 2021
8b4a731
implementing crypted socket
andreacasalino Jan 31, 2021
0645d8d
crypto socket removed
andreacasalino Jan 31, 2021
1be64fb
implementing samples
andreacasalino Jan 31, 2021
5ae3e6e
making virtual override public
andreacasalino Jan 31, 2021
736cfbe
code refactored
andreacasalino Feb 7, 2021
48aabbc
fixing samples
andreacasalino Feb 7, 2021
e684fcd
tcp samples implemented
andreacasalino Feb 7, 2021
7981a3b
async responder implemented
andreacasalino Feb 7, 2021
caaaa10
fixing Linux compile errors
andreacasalino Feb 7, 2021
16a0f9a
link to pthreads to solve compile problems
andreacasalino Feb 7, 2021
30fff79
udp samples implemented
andreacasalino Feb 7, 2021
b2f9849
debugging samples
andreacasalino Feb 8, 2021
1507cdb
tcp samples debugged
andreacasalino Feb 8, 2021
445d5da
tcp samples refactored
andreacasalino Feb 9, 2021
550821b
udp samples restructured
andreacasalino Feb 9, 2021
d25ce01
samples working but not robustly
andreacasalino Feb 10, 2021
8801c93
Merge pull request #2 from andreacasalino/ReshapeSamples
andreacasalino Feb 10, 2021
b855bbd
minor changes
andreacasalino Feb 10, 2021
d7e0031
readme of samples added
andreacasalino Feb 10, 2021
80fa72a
handshake in udp server sample added
andreacasalino Feb 10, 2021
aba58cc
minor changes
andreacasalino Feb 10, 2021
ba596b4
sleep in process launcher added
andreacasalino Feb 10, 2021
246ae5f
launcher linux compile error fixed
andreacasalino Feb 13, 2021
8d0c9b6
async sample added
andreacasalino Feb 13, 2021
919a339
debugging asybc sample
andreacasalino Feb 13, 2021
6c6c865
class documentation improved
andreacasalino Feb 13, 2021
3113a59
removing external receive from async shell
andreacasalino Feb 13, 2021
69cac7b
samples debugged
andreacasalino Feb 13, 2021
7e56c85
Merge pull request #3 from andreacasalino/Improving
andreacasalino Feb 13, 2021
eb206dc
Update README.md
andreacasalino Mar 9, 2021
4681b82
Update README.md
andreacasalino Mar 9, 2021
7240df3
mutex protecting send and receive introduced
andreacasalino Mar 9, 2021
edfd7fc
Merge pull request #4 from andreacasalino/promote-thread-safety
andreacasalino Mar 9, 2021
60d3dbd
ci pipeline created
andreacasalino Mar 10, 2021
c6a2010
Merge pull request #5 from andreacasalino/CI-pipeline
andreacasalino Mar 10, 2021
126073e
shared and static libraries compiled
andreacasalino Mar 10, 2021
a948570
Merge pull request #6 from andreacasalino/CI-pipeline
andreacasalino Mar 10, 2021
a4517ae
yaml file modified to separate names
andreacasalino Mar 10, 2021
a59f03c
Update README.md
andreacasalino Mar 10, 2021
bf3c95b
Update README.md
andreacasalino Mar 30, 2021
8be8a18
Update README.md
andreacasalino Mar 30, 2021
d7d1164
async separated from sync
andreacasalino May 1, 2021
727b055
minor changes
andreacasalino May 1, 2021
6920099
implementing new structure
andreacasalino May 2, 2021
9865593
minor changes
andreacasalino May 2, 2021
5e12e0f
implementing tests
andreacasalino May 3, 2021
63ec85f
implementing tests
andreacasalino May 3, 2021
e0e2d8c
implementing async
andreacasalino May 4, 2021
4c074c4
made compilable
andreacasalino May 6, 2021
5f3e5f8
implementing
andreacasalino May 6, 2021
49af2e9
implementing tests
andreacasalino May 7, 2021
ccd3c77
unit test and artifacts workflow split
andreacasalino May 7, 2021
c81ed36
implementing tests
andreacasalino May 7, 2021
ecdd226
restoring samples
andreacasalino May 7, 2021
04b2cbb
implementing
andreacasalino May 7, 2021
a6a0792
launchers modified
andreacasalino May 8, 2021
eceb9bf
samples fixed on Windows
andreacasalino May 8, 2021
94cab0d
samples fixed in Linux
andreacasalino May 8, 2021
6c5a866
implementing tests
andreacasalino May 8, 2021
c91ebfc
documentation updated
andreacasalino May 8, 2021
9477017
minor changes
andreacasalino May 8, 2021
f0ea51f
implementing
andreacasalino May 9, 2021
313f47e
fixing tests
andreacasalino May 9, 2021
7754962
tests fixed
andreacasalino May 9, 2021
ecdefaf
minor changes
andreacasalino May 9, 2021
e50c479
Merge pull request #7 from andreacasalino/GoogleTest
andreacasalino May 9, 2021
1596f54
udp server test disabled
andreacasalino May 11, 2021
50ea08f
Merge pull request #8 from andreacasalino/UnitTestFix
andreacasalino May 11, 2021
2cf5918
improving existing code
andreacasalino May 15, 2021
1e0af87
implementing typed connections
andreacasalino May 15, 2021
dd92a3c
implementing typed messangers
andreacasalino May 16, 2021
7c90215
implementing typed connections
andreacasalino May 16, 2021
6c9cdac
typed tests introduced
andreacasalino May 19, 2021
a0f0bff
implementing tests
andreacasalino May 19, 2021
6d8e881
implementing tests
andreacasalino May 19, 2021
c319c43
typed tests implemented
andreacasalino May 19, 2021
2570a5b
tests added to pipeline
andreacasalino May 19, 2021
83a6207
fix compile error
andreacasalino May 19, 2021
6dbf11c
restructure of cmake prj
andreacasalino May 19, 2021
6b4295b
readme improved
andreacasalino May 19, 2021
2a2b577
Merge pull request #9 from andreacasalino/TypedConnections
andreacasalino May 19, 2021
47bba63
Update README.md
andreacasalino May 21, 2021
00ad331
improving yml file
andreacasalino Jul 16, 2021
8b8a703
Merge pull request #10 from andreacasalino/GitActionImproved
andreacasalino Jul 16, 2021
1942a9a
fetch gtest
andreacasalino Nov 22, 2021
81c41a0
fecth gtest
andreacasalino Nov 22, 2021
36eff91
Merge pull request #11 from andreacasalino/FetchGtest
andreacasalino Nov 22, 2021
7073b3a
refactoring
May 6, 2022
f2bd81c
refactoring
May 6, 2022
de1f224
refactoring
May 6, 2022
3ba189c
refactoring
May 6, 2022
75de698
refactoring
May 6, 2022
e22b153
refactoring
May 6, 2022
1afd32f
refactoring
May 7, 2022
cd51b29
refactoring
May 7, 2022
7ae23f4
refactoring
May 7, 2022
1072f2b
refactoring
May 7, 2022
75b31b6
preparing for tests
May 7, 2022
500b08a
fixing win32 compile
andreacasalino May 7, 2022
f9698c2
testing
May 7, 2022
aa64eed
refactoring
May 8, 2022
a13ce73
refactoring
May 8, 2022
e4d293c
refactoring
May 8, 2022
6a4fef6
refactoring
May 8, 2022
a7ce643
testing
May 8, 2022
195918f
testing
May 8, 2022
2468f2d
testing
May 8, 2022
083bb57
any port bindable
May 8, 2022
c3e6070
open con timeout
May 8, 2022
25995bd
refactoring
May 9, 2022
8892687
refactoring
May 9, 2022
c9ed06b
refactoring
May 9, 2022
4de9b80
clear buffer before receive
May 9, 2022
52c3973
udp socket only send removed
May 9, 2022
a46071e
refactoring
May 9, 2022
a0f4966
testing
May 9, 2022
3cf960b
testing
May 9, 2022
2038e9d
testing
May 9, 2022
6ef909d
testing
May 9, 2022
3c46f8e
testing
May 9, 2022
6225612
refactoring
May 9, 2022
5f2c1b5
testing
May 9, 2022
dcd80bc
testing for timeout functions
May 9, 2022
0af20ec
testing
May 9, 2022
b131f0c
enabling ci tests
May 9, 2022
0921275
enabling artifats ci
May 9, 2022
ab69784
fixing windows compile errors
andreacasalino May 9, 2022
d6238a6
better WSData handling
andreacasalino May 9, 2022
032f926
control over listen backlog size
May 11, 2022
a0c8bc2
better socket error with code
May 11, 2022
322c500
testing
May 11, 2022
4aa4862
testing
May 11, 2022
c715939
testing
May 11, 2022
3883994
fixing compile issue
May 11, 2022
c22ba4a
fixing compile error
May 11, 2022
d660c54
testing
May 11, 2022
a4e2a86
testing
May 11, 2022
f337301
testing
May 12, 2022
7122f81
testing
May 12, 2022
d898520
testing
May 12, 2022
8d7c630
testing
May 12, 2022
828b177
testing
May 12, 2022
337ff44
testing
May 12, 2022
0c15e9e
minor changes
andreacasalino May 12, 2022
1ed52d9
testing
May 12, 2022
3509c26
finxing compile error
andreacasalino May 12, 2022
9626fd2
set WSA version possible
andreacasalino May 12, 2022
73856d8
trying windows 2019
andreacasalino May 12, 2022
31fd514
timeout error
May 12, 2022
0d22e9d
timeout error
May 12, 2022
2b15b64
try within timeout generalized
May 13, 2022
b6ce90d
refactoring
May 13, 2022
12eb10b
removing expected
May 13, 2022
34ae0cc
testing
May 13, 2022
0083a15
testing
May 13, 2022
92e92f9
testing accept with timeout
May 13, 2022
d3711a7
minor change
May 13, 2022
a8e6fae
removing redundant headers
May 13, 2022
82cc148
removing redundnat include
May 13, 2022
712ab6f
refactoring
May 13, 2022
b4a6cfa
minor changes
May 13, 2022
75d5ff1
samples
May 14, 2022
1293d49
testing
andreacasalino May 14, 2022
2825068
testing
andreacasalino May 14, 2022
819e3c1
samples
May 14, 2022
15f37c8
samples
May 14, 2022
643de44
samples
May 14, 2022
ac8fc89
samples
May 14, 2022
ab0d276
samples
May 14, 2022
0590a32
samples
May 14, 2022
53e0b13
samples
May 14, 2022
cafd41c
samples
May 14, 2022
cc0f9a9
refactoring
May 14, 2022
7524a8a
samples
May 15, 2022
16a3678
samples
May 15, 2022
249234e
samples
May 15, 2022
c8f6496
samples
May 15, 2022
e2ef0e3
samples
May 15, 2022
fb612bf
samples
May 15, 2022
d5332ab
samples
andreacasalino May 15, 2022
fb75ad1
enum class
May 15, 2022
a6ca0c0
documenting
May 15, 2022
83d0fbb
documenting
May 15, 2022
83fdfb9
documenting
May 15, 2022
b8bbffc
documenting
May 15, 2022
2391775
static error if not valid os
May 15, 2022
5481270
testing
May 15, 2022
3632e0a
Merge branch 'Refactoring' of github.com:andreacasalino/Cross-Platfor…
May 15, 2022
5370587
testing
May 17, 2022
02b115c
testing
May 17, 2022
2547660
testing
May 17, 2022
a158430
testing
May 17, 2022
f2bf3c7
refactoring
May 17, 2022
059962a
testing
May 17, 2022
0d15e79
testing
May 17, 2022
15c82ca
documenting
May 18, 2022
4369300
documenting
May 18, 2022
823ab3d
documenting
May 19, 2022
9dad15d
documenting
May 19, 2022
d687b73
documenting
May 19, 2022
cac71a0
testing macOS
May 19, 2022
68e57fb
testing mac os
May 19, 2022
e4e6d55
support for mac os
May 19, 2022
dfd3b45
using inet_pton also in windows
andreacasalino May 19, 2022
1c5f932
minor
May 19, 2022
1ede46e
Merge branch 'Refactoring' of github.com:andreacasalino/Cross-Platfor…
May 19, 2022
90b0935
clone functions
May 19, 2022
40fd7b3
refactoring
May 19, 2022
70a5c16
refactoring
May 19, 2022
e8bf468
Merge pull request #12 from andreacasalino/Refactoring
andreacasalino May 19, 2022
bc89e8a
picture
May 19, 2022
90a7b41
Merge branch 'Refactoring'
May 19, 2022
230ddcc
picture
May 19, 2022
5eb088a
fixing tests
May 19, 2022
216c79e
fixing tests
May 19, 2022
7e95caa
Merge pull request #13 from andreacasalino/FixingFailingTests
andreacasalino May 19, 2022
c87d6bc
Update README.md
andreacasalino May 20, 2022
98c31bf
Update README.md
andreacasalino May 20, 2022
5a6530f
Update README.md
andreacasalino May 28, 2022
3e1b366
fixing cmake include
andreacasalino Jul 22, 2022
42cb9a5
Merge pull request #15 from andreacasalino/BetterCMake
andreacasalino Jul 22, 2022
952b782
avoid compile readme
andreacasalino Aug 21, 2022
54549ab
Merge pull request #17 from andreacasalino/AvoidReadMeCompile
andreacasalino Aug 21, 2022
4d24412
simpler cmake
May 28, 2023
256a650
Merge pull request #24 from andreacasalino/SimplerCmakeBarrierInstead…
andreacasalino May 29, 2023
6c7870b
Monitor.pt script
Jun 2, 2023
c5d3014
Merge pull request #25 from andreacasalino/SamplesWithPythonPopen
andreacasalino Jun 5, 2023
4de1b4b
avoid to fetch samples in readme sample
Jun 12, 2023
3e50a30
Merge pull request #27 from andreacasalino/BetterReadmeCmakeSupport
andreacasalino Jun 12, 2023
bddb6c9
use clang-17 for ubuntu-clang format as workaround to github action bug
Dec 23, 2023
ef01be4
Merge pull request #31 from andreacasalino/FixClangIssue
andreacasalino Dec 23, 2023
7d6ae74
auto detect tests labels in runTests CI action
Dec 23, 2023
4cbc4b2
Merge pull request #32 from andreacasalino/AutodetectTests
andreacasalino Dec 23, 2023
023700b
fixed errors when using wasm emscripten.
LostbBlizzard Dec 20, 2023
2d28d38
Merge pull request #33 from andreacasalino/LostbBlizzard-PR
andreacasalino Dec 23, 2023
813d6da
GNU LICENSE added
Feb 8, 2024
9633671
Merge pull request #35 from andreacasalino/WithLicense
andreacasalino Feb 8, 2024
f74355e
avoid custom target command in VisualStudio in favour of a Popen C++ …
andreacasalino Feb 19, 2024
af13292
Merge pull request #37 from andreacasalino/Popen
andreacasalino Feb 20, 2024
81386a9
cosmetic changes to Monitor.py
Feb 20, 2024
bbd3f4b
Merge pull request #38 from andreacasalino/BetterMonitorPy
andreacasalino Feb 20, 2024
cca045c
Refactoring + doc improved
Feb 24, 2024
e692da0
Merge pull request #39 from andreacasalino/Refactoring
andreacasalino Feb 24, 2024
47b0bf7
non blocking semantics for receiving soeckts and the tcp acceptor
Feb 25, 2024
5f4fb06
Merge pull request #40 from andreacasalino/NonBlocking
andreacasalino Mar 31, 2024
00669ff
fix missing include
2bbb May 24, 2024
7585477
Merge pull request #43 from 2bbb/PR/fix_missing_include
andreacasalino May 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use clang-17 for ubuntu-clang format as workaround to github action bug
use Ninja for ubuntu flows
Foo committed Dec 23, 2023
commit bddb6c9c89b207462701c989a62e459a78714a3d
66 changes: 0 additions & 66 deletions .github/workflows/installArtifacts.yml

This file was deleted.

25 changes: 21 additions & 4 deletions .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
@@ -16,25 +16,42 @@ jobs:
include:
- name: ubuntu-gcc
os: ubuntu-latest
compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G \"Unix Makefiles\""
compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++"
build_system: '-G Ninja'
- name: ubuntu-clang
os: ubuntu-latest
compiler_opt: "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G \"Unix Makefiles\""
compiler_opt: "-DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17"
build_system: '-G Ninja'
- name: windows-VS
os: windows-latest
compiler_opt: ""
build_system: ""
- name: macOS
os: macos-latest
compiler_opt: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++"

build_system: ""

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Ninja
if: matrix.build_system == '-G Ninja'
uses: seanmiddleditch/gha-setup-ninja@master
# needed as this project requires c++ 20. Due to this github action bug:
# https://github.com/actions/runner-images/issues/8659
# This actually implements the workaround described here:
# https://github.com/wheremyfoodat/Panda3DS/blob/master/.github/workflows/Linux_Build.yml
- name: Install newer Clang
if: ${{ matrix.name == 'ubuntu-clang' }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh 17
- name: CMake configure
run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -DBUILD_MinimalCppSocket_SAMPLES=OFF -DBUILD_MinimalCppSocket_TESTS=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.compiler_opt }}
run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -DBUILD_MinimalCppSocket_SAMPLES=OFF -DBUILD_MinimalCppSocket_TESTS=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.compiler_opt }} ${{ matrix.build_system }}
- name: Build
run: cmake --build ./build --config Release
- name: Install
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
![binaries_compilation](https://github.com/andreacasalino/Cross-Platform-Socket/actions/workflows/installArtifacts.yml/badge.svg)
![binaries_compilation](https://github.com/andreacasalino/Cross-Platform-Socket/actions/workflows/runTests.yml/badge.svg)

- [What is this library about](#intro)
1 change: 1 addition & 0 deletions src/header/MinimalSocket/core/Address.h
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@

#pragma once

#include <cstdint>
#include <optional>
#include <string>

2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ include(FetchContent)
FetchContent_Declare(
catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG 4ff8b27bb6bed4b8b309e56cd269b4f1fbc24e89
GIT_TAG v3.5.0
)
FetchContent_MakeAvailable(catch2)