Changeset d656933 in nscp for include/SSLSocket.cpp


Ignore:
Timestamp:
04/20/05 21:08:49 (8 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
945c381
Parents:
cea178b
Message:

+ Added multitasking to socket listsner (it can now handle multiple connections)

  • Fixed bug in NSClientListener now "seqv" in check_nt shouldn't happen. + Added COUNTER support to NSClient and CheckSystem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/SSLSocket.cpp

    rcea178b rd656933  
    6666} 
    6767 
    68 bool simpleSSL::Listener::accept(tSocket &client) { 
    69   client.setContext(context); 
    70   if (!simpleSocket::Socket::accept(client)) 
    71     return false; 
    72   return true; 
     68bool simpleSSL::Listener::accept(tSocket *client) { 
     69  assert(client); 
     70  client->setContext(context); 
     71  return simpleSocket::Socket::accept(client); 
    7372} 
    7473 
Note: See TracChangeset for help on using the changeset viewer.