
/// WebSocket server used for testing the bench example.
extern crate ws;

use ws::{Builder, Settings, Sender};

fn main () {
    Builder::new().with_settings(Settings {
        max_connections: 10_000,
        ..Settings::default()
    }).build(|out: Sender| {
        move |msg| {
            out.send(msg)
        }
    }).unwrap().listen("127.0.0.1:3012").unwrap();
}

Add bench server example with settings usage.
Add bench server example with settings usage.
