server 0.0.1
basicserverinfrastructure

src/server/close_conn.c

Go to the documentation of this file.
00001 #include <string.h>
00002 
00003 #include "server.h"
00004 #include "interface/class.h"
00005 
00006 void
00007 serverCloseConn(Server this, unsigned int i)
00008 {
00009         int fd = (this->fds)[i].fd;
00010 
00011         delete(&((this->conns)[fd].sock));
00012         delete(&((this->conns)[fd].reader));
00013         (this->fds)[i].events = 0;
00014         this->ndel++;
00015 //      CLEAR_CONN(this, i);
00016 //      this->nfds--;
00017 }
00018 
00019 // vim: set ts=4 sw=4:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines