start type socket parametrization

This commit is contained in:
2022-12-19 23:56:34 +01:00
parent 6530d7b64a
commit e0a9fe3678
5 changed files with 69 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
use std::net::{TcpListener, TcpStream};
use std::os::unix::net::{UnixListener};
use std::net::TcpListener;
use std::os::unix::net::UnixListener;
use crate::conf;
use crate::server_conf::conexion::Conexion;
use crate::server_conf::listener::GenericListener;
use std::thread;
use std::sync::{Arc, RwLock};
use std::path::{Path, PathBuf};
pub struct ConfSer{
path: String,