OpenLoad Globals


Annotated List
Files
Globals
Hierarchy
Index

http_client.h

sock.h

Global member Documentation

enum EHttpMethod {METHOD_GET = 0, METHOD_POST = 1, METHOD_HEAD = 2, METHOD_PUT = 3, METHOD_DELETE = 4 }

EHttpMethod

#include <http_client.h>

typedef void  TResponseFunc (CHttpContext* pContext)

TResponseFunc

#include <http_client.h>

int  SendRequest (CHttpRequest* pReq, CEventLoop* pEvLoop, TResponseFunc* pCallBack, void* pParam)

SendRequest

#include <http_client.h>

typedef struct sockaddr_in SOCKADDR_IN

SOCKADDR_IN

#include <sock.h>

typedef int SOCKET

SOCKET

#include <sock.h>

typedef void  TCallBack (CTcpSock* sock)

TCallBack

#include <sock.h>

The TCallBack type is used for all callbacks whenever the CTcpSock changes state.

Parameters:
sockpointer to the socket object that changed state.

int  get_address (const char* host, int port, SOCKADDR_IN* pAdr)

get_address

#include <sock.h>

Lookup an address consisting of host name (or IP) and port number.

Parameters:
hostThe hostname or IP address in dot notaion, e.g. "192.168.0.1"
portport number
pAdrpointer to a variable for storing the result

Returns: zero on success

int  getSocketError ()

getSocketError

#include <sock.h>

Retrieve the error code of the last failed socket operation.

Returns: error code


Generated by: pelle@pjws.localdomain on Wed Mar 14 12:09:22 2001, using kdoc 2.0a52.