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

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.
Returns:
Pointer to the buffer buf.


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 12:20:40 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.4.7