|
OPeNDAP Hyrax Back End Server (BES) Updated for version 3.8.3
|
#include <SocketUtilities.h>
Static Public Member Functions | |
| static string | create_temp_name () |
| Create a uniq name which is used to create a unique name for a Unix socket in a client . | |
| static char * | ltoa (long val, char *buf, int base) |
| Routine to convert a long int to the specified numeric base, from 2 to 36. | |
Definition at line 40 of file SocketUtilities.h.
| 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.
Definition at line 67 of file SocketUtilities.cc.
References ltoa().
Referenced by UnixSocket::connect().

| 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.
| val | the value to be converted. |
| buf | A buffer where to place the conversion. |
| base | base number system to use |
Definition at line 43 of file SocketUtilities.cc.
Referenced by create_temp_name().