Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

udpmem.cc File Reference

#include "rcs_defs.hh"
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "udpmem.hh"
#include "udp_opts.hh"
#include "timer.hh"
#include "rem_msg.hh"
#include "rcs_prnt.hh"
#include "sendmsgt.h"
#include "recvmsgt.h"
#include "sokintrf.h"

Include dependency graph for udpmem.cc:

Include dependency graph

Go to the source code of this file.

Functions

void throwaway_extra_data_on_socket (int socket_fd)

Variables

int number_of_udpmem_objects


Function Documentation

void throwaway_extra_data_on_socket int    socket_fd
 

Definition at line 930 of file udpmem.cc.

Referenced by UDPMEM::call_on_server().

00931 {
00932   int count = 0;
00933   if (socket_fd > 0)
00934     {
00935       struct msghdr temp_header;
00936       while (recvmsgtq (socket_fd, &temp_header, 0, 0.0) > 0 && count < 10)
00937         count++;
00938     }
00939 }


Variable Documentation

int number_of_udpmem_objects [static]
 

Definition at line 46 of file udpmem.cc.


Generated on Sun Dec 2 15:58:05 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001