-
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.
Fixed disconnecting the client breaking the pipe permanently
- Loading branch information
1 parent
86f0510
commit 7962d05
Showing
4 changed files
with
21 additions
and
16 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "studio-packet-dumper-client" | ||
name = "client" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
|
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,5 +1,5 @@ | ||
pub enum Packet { | ||
Test { | ||
RemoteEvent { | ||
hello: u8, | ||
} | ||
} |
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,12 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR) | ||
project(StudioPacketDumper LANGUAGES CXX C) | ||
|
||
add_library(StudioPacketDumper SHARED "src/main.cpp") | ||
add_library(dumper SHARED "src/main.cpp") | ||
|
||
if(MSVC) | ||
target_compile_options(StudioPacketDumper PRIVATE /W4 /WX) | ||
target_compile_options(dumper PRIVATE /W4 /WX) | ||
else() | ||
target_compile_options(StudioPacketDumper PRIVATE -Wall -Wextra -Wpedantic -Werror) | ||
target_compile_options(dumper PRIVATE -Wall -Wextra -Wpedantic -Werror) | ||
endif() | ||
|
||
target_compile_features(StudioPacketDumper PRIVATE cxx_std_17) | ||
target_compile_features(dumper PRIVATE cxx_std_17) |
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