crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

accept.cc (250B)


      1 #include "socket"
      2 
      3 Socket Socket::accept() {
      4     // Try to accept the client connection (or throw up)
      5     Basesocket *client = _basesocket->accept();
      6 
      7     // Got a connection. Create a new smartsocket and return it.
      8     return Socket(client);
      9 }
     10