Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3665

Show
Ignore:
Timestamp:
06/22/08 22:19:27 (2 months ago)
Author:
kris
Message:

cleaned example up

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/net/SocketPool.d

    r3664 r3665  
    297297                } 
    298298         
    299                 void recv (IConduit c) 
    300                 { 
    301                 } 
    302  
    303299                auto pool = new Pool (new InternetAddress("localhost:1111"), &create); 
    304300                while (true) 
    305301                      { 
    306                       if (! pool.request (&send, &recv, cast(Pool.Log) &Stdout.formatln)) 
     302                      if (! pool.request (&send, null, cast(Pool.Log) &Stdout.formatln)) 
    307303                            Stdout (">>> request failed").newline; 
    308304                      Thread.sleep (1);