Merge branch 'master' of https://git.efi.th-nuernberg.de/gitea/hopfma/appsec
This commit is contained in:
commit
808af585c9
@ -6,9 +6,10 @@ use crypto_box::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
let port: u32 = 7878;
|
||||||
//let stream = TcpStream::connect("172.30.16.1:8080");
|
//let stream = TcpStream::connect("172.30.16.1:8080");
|
||||||
//let stream = TcpStream::connect("27.0.0.1:8080");
|
//let stream = TcpStream::connect("27.0.0.1:8080");
|
||||||
match TcpStream::connect("localhost:7878") {
|
match TcpStream::connect(format!("localhost:{}", port)) {
|
||||||
Ok(mut stream) => {
|
Ok(mut stream) => {
|
||||||
println!("Successfully connected to server");
|
println!("Successfully connected to server");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user