uHTTP for C++
SocketUtil.h File Reference
#include <uhttp/platform.h>
#include <string.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>

Namespaces

namespace  uHTTP
 

Functions

int uHTTP::GetSocketLastErrorCode ()
 
const char * uHTTP::DecodeSocketError (int ErrorCode)
 
bool uHTTP::toSocketAddrIn (const std::string &addr, int port, struct sockaddr_in *sockaddr, bool isBindAddr=true)
 
bool uHTTP::toSocketAddrInfo (int sockType, const std::string &addr, int port, struct addrinfo **addrInfo, bool isBindAddr=true)