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

Changeset 3660

Show
Ignore:
Timestamp:
06/22/08 18:07:53 (3 months ago)
Author:
kris
Message:

made recv() optional

Files:

Legend:

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

    r3659 r3660  
    134134        ***********************************************************************/ 
    135135         
    136         final bool request (Handler send, Handler recv, Log log = null
     136        final bool request (Handler send, Handler recv, Log log
    137137        {        
    138138                Time time; 
     
    152152                         // otherwise  
    153153                         attempts = 0; 
    154                          recv (connection.bound); 
     154                         if (recv) 
     155                             recv (connection.bound); 
    155156 
    156157                         // return borrowed connection