chore: initial commit
semi working version
This commit is contained in:
+23
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user