server 0.0.1
basicserverinfrastructure

src/server/close_conn.c File Reference

#include <string.h>
#include "server.h"
#include "interface/class.h"
Include dependency graph for close_conn.c:

Go to the source code of this file.

Functions

void serverCloseConn (Server this, unsigned int i)

Function Documentation

void serverCloseConn ( Server  this,
unsigned int  i 
)

Definition at line 7 of file close_conn.c.

{
        int fd = (this->fds)[i].fd;

        delete(&((this->conns)[fd].sock));
        delete(&((this->conns)[fd].reader));
        (this->fds)[i].events = 0;
        this->ndel++;
//      CLEAR_CONN(this, i);
//      this->nfds--;
}

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines