crossroads

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

socket3.cc (231B)


      1 #include "socket"
      2 
      3 Socket::Socket(int f) {
      4     _refcount = new int;
      5     *_refcount = 1;
      6     _basesocket = new Basesocket(f);
      7 
      8     #ifdef SOCKET_DEBUG
      9     debugmsg("Socket: created with fd, " << description() << '\n');
     10     #endif
     11 }