ddnet/src/engine/server
bors[bot] 3ffd4205ef
Merge #6295
6295: Implement FIFO on Windows using Named Pipes r=def- a=Robyt3

Reimplement the Linux FIFO file server and client controls on Windows by using Named Pipes.

The DDNet server/client acts as a named pipe server and receives messages.
Messages can be posted to the named pipe server by connecting to it as a client.
The named pipe client can for instance be controlled from the command line with PowerShell.

The PowerShell script `scripts/send_named_pipe.ps1` is added for this purpose.
For example the PowerShell command `./send_named_pipe.ps1 "testpipe" "echo a"` sends the command `echo a` to the pipe named `testpipe`.
Multiple commands can be sent at the same time by separating them with semicolons or newlines.

## Checklist

- [X] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Robert Müller <robytemueller@gmail.com>
2023-01-22 21:40:17 +00:00
..
databases Merge #6110 2022-12-09 23:22:44 +00:00
antibot.cpp Hand the client IP addresses to the antibot module 2023-01-11 01:35:50 +01:00
antibot.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
authmanager.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
authmanager.h Use std::vector<CKey> instead of array 2022-05-27 16:31:18 +02:00
main.cpp Add TYPE_ALL_OR_ABSOLUTE and TYPE_SAVE_OR_ABSOLUTE storage types 2022-11-20 16:07:40 +01:00
name_ban.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
name_ban.h Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
register.cpp Fix misspellings 2022-10-25 13:51:56 -03:00
register.h Explicitly delete game server from list on shutdown 2022-06-03 11:27:47 +02:00
server.cpp Merge #6295 2023-01-22 21:40:17 +00:00
server.h Implement FIFO on Windows using Named Pipes 2023-01-21 11:13:02 +01:00
server_logger.cpp Fix potential null-pointer dereference in server logger 2022-11-29 23:32:30 +01:00
server_logger.h Extract server main() to its own file 2022-08-15 16:07:27 +03:00
sql_string_helpers.cpp Declare variables as const when possible 2022-11-29 23:32:32 +01:00
sql_string_helpers.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
upnp.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
upnp.h Huge variable naming format 2022-07-08 18:01:29 +02:00