generated from tipragot/rust
Automatic port forwarding using UPnP and invitation link system #27
|
@ -2,11 +2,8 @@
|
||||||
|
|
||||||
use std::collections::LinkedList;
|
use std::collections::LinkedList;
|
||||||
use std::io::{self, Read, Write};
|
use std::io::{self, Read, Write};
|
||||||
use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4, TcpListener, TcpStream, ToSocketAddrs};
|
use std::net::{IpAddr, Ipv4Addr, SocketAddrV4, TcpListener, TcpStream};
|
||||||
|
|
||||||
use base64::alphabet::Alphabet;
|
|
||||||
use base64::engine::general_purpose::NO_PAD;
|
|
||||||
use base64::engine::GeneralPurpose;
|
|
||||||
use base64::prelude::*;
|
use base64::prelude::*;
|
||||||
use igd::{Gateway, PortMappingProtocol};
|
use igd::{Gateway, PortMappingProtocol};
|
||||||
use local_ip_address::local_ip;
|
use local_ip_address::local_ip;
|
||||||
|
|
Loading…
Reference in a new issue