This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use winapi::shared::minwindef::{ BOOL, LPARAM }; | |
| use winapi::shared::windef::{ HWND }; | |
| use winapi::um::winuser::{ EnumWindows, IsWindowVisible }; | |
| #[derive(Debug)] | |
| struct Window { | |
| h_wnd: HWND | |
| } | |
| fn main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate futures; | |
| extern crate tokio_core; | |
| extern crate tokio; | |
| use std::{env, io}; | |
| use std::net::SocketAddr; | |
| use std::sync::mpsc::{ channel, Sender, Receiver }; | |
| use futures::{ Future, Poll }; | |
| use tokio_core::net::UdpSocket; |