cli
E. Almqvist 2 years ago
parent ac51f7c46a
commit 7a246bc601
  1. 5
      src/scanner.rs

@ -2,10 +2,7 @@ use crate::ipv4;
use anyhow::Result;
use log::info;
//use std::thread;
use std::{
net::{SocketAddr, TcpStream},
//thread::JoinHandle,
};
use std::net::{SocketAddr, TcpStream};
fn tcp_scan(dest: &SocketAddr) -> bool {
if let Ok(res) = TcpStream::connect(dest) {

Loading…
Cancel
Save