From f25c8e97b3157e5f110835de19e9e71f47f3d4b4 Mon Sep 17 00:00:00 2001 From: endernon Date: Sat, 1 Jun 2024 11:30:18 +0100 Subject: [PATCH] main --- .idea/.gitignore | 8 ++++++++ .idea/ipimg.iml | 11 +++++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ src/main.rs | 11 +++++++++++ 5 files changed, 44 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/ipimg.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/ipimg.iml b/.idea/ipimg.iml new file mode 100644 index 0000000..c254557 --- /dev/null +++ b/.idea/ipimg.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..a89e94b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 0cf03a1..1480b3c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,14 @@ +/////////////////////////////////////////// +// // +// TO EDIT NETWORK STUFF EDIT BELOW: // +// - const IPADDRESS // +// - const PORT // +// // +/////////////////////////////////////////// + +const IPADDRESS: &str = "69"; +const PORT: &str = "8080"; + use std::{io::Cursor, net::SocketAddr}; use ab_glyph::FontRef;