chore: initial commit

semi working version
This commit is contained in:
michel
2024-09-09 08:32:37 +02:00
commit 5c56066960
15 changed files with 818 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
mod client;
mod dispatcher;
mod message;
mod server;
use std::thread;
use client::Client;
use server::ServerAddress;
fn main() {
let client = Client::new(
// ServerAddress::new(String::from("localhost"), 2416),
ServerAddress::new(String::from("server.slsknet.org"), 2416),
String::from("insane_in_the_brain2"),
// String::from("invalid"),
String::from("13375137"),
);
client.connect();
loop {
thread::park();
}
}