SocketUtilities Class Reference

#include <SocketUtilities.h>

List of all members.

Static Public Member Functions

static char * ltoa (long val, char *buf, int base)
static string create_temp_name ()


Member Function Documentation

string SocketUtilities::create_temp_name (  )  [static]

Create a uniq name which is used to create a unique name for a Unix socket in a client . or for creating a temporary file.

Returns:
uniq name

References ltoa().

Referenced by UnixSocket::connect().

Here is the call graph for this function:

char * SocketUtilities::ltoa ( long  val,
char *  buf,
int  base 
) [static]

Routine to convert a long int to the specified numeric base, from 2 to 36. You must get sure the buffer val is big enough to hold all the digits for val or this routine may be UNSAFE.

Parameters:
val the value to be converted.
buf A buffer where to place the conversion.
base base number system to use
Returns:
Pointer to the buffer buf.

Referenced by create_temp_name().


The documentation for this class was generated from the following files:

Generated on Tue Jul 21 08:14:31 2009 for OPeNDAP Back End Server (BES) by  doxygen 1.5.8