Compare commits
No commits in common. "9ade9799f6560f17ac05a1c36d0a0fd36d19dcc1" and "7460cd314c0053721743811d543ba71a606e9a28" have entirely different histories.
9ade9799f6
...
7460cd314c
@ -6,10 +6,9 @@ use crypto_box::{
|
||||
};
|
||||
|
||||
fn main() {
|
||||
let port: u32 = 7878;
|
||||
//let stream = TcpStream::connect("172.30.16.1:8080");
|
||||
//let stream = TcpStream::connect("27.0.0.1:8080");
|
||||
match TcpStream::connect(format!("localhost:{}", port)) {
|
||||
match TcpStream::connect("localhost:7878") {
|
||||
Ok(mut stream) => {
|
||||
println!("Successfully connected to server");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user