Download code/engine/network/server.cpp from HDTenEightyP/SeafarerEngine: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/HDTenEightyP/SeafarerEngine/resolve/main/code/engine/network/server.cpp
- Command line
-
hf download hf://HDTenEightyP/SeafarerEngine/code/engine/network/server.cpp
-
curl -L -o server.cpp https://huggingface.co/HDTenEightyP/SeafarerEngine/resolve/main/code/engine/network/server.cpp
395 Bytes
| int match_addr(struct _Seafarer_Multiplayer_Server* SMS, struct sockaddr_in a, struct sockaddr_in b) { | |
| return (a.sin_addr.s_addr == b.sin_addr.s_addr && a.sin_port == b.sin_port); | |
| } | |