bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
SocketUtilities Class Reference
Collaboration diagram for SocketUtilities:
Collaboration graph

Static Public Member Functions

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

Detailed Description

Definition at line 38 of file SocketUtilities.h.

Member Function Documentation

◆ create_temp_name()

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

Definition at line 70 of file SocketUtilities.cc.

◆ ltoa()

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
valthe value to be converted.
bufA buffer where to place the conversion.
basebase number system to use
Returns
Pointer to the buffer buf.

Definition at line 46 of file SocketUtilities.cc.


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