27 #ifndef _RTXNETUTIL_H_ 28 #define _RTXNETUTIL_H_ 36 OSRTNetNoProto, OSRTNetHttp, OSRTNetFtp, OSRTNetOtherP
40 OSRTNetNoTrans, OSRTNetTCP, OSRTNetUDP, OSRTNetOtherT
43 typedef struct OSRTNETURL {
50 typedef struct OSRTNETCONN {
55 OSRTNetProtocol protocol;
56 OSRTNetTransport transport;
108 (
OSCTXT* pctxt, OSRTNETCONN* pNetConn,
const char* url);
119 EXTERNRT
int rtxNetParseURL (OSRTNETCONN* pNetConn,
const char* url);
121 EXTERNRT
int rtxNetParseURL2
122 (OSRTNETCONN* pNetConn, OSRTNETURL* pNetURL,
const char* url);
EXTERNRT OSRTNETCONN * rtxNetCreateConn(OSCTXT *pctxt, const char *url)
This function creates a new network connection to the given URL.
EXTERNRT int rtxNetParseURL(OSRTNETCONN *pNetConn, const char *url)
This function parses a Universal Resource Locator (URL) into the components defined in the network co...
int OSRTSOCKET
Socket handle type definition.
Common run-time context definitions.
EXTERNRT int rtxNetCloseConn(OSRTNETCONN *pNetConn)
This function closes a network connection.
EXTERNRT int rtxNetConnect(OSRTNETCONN *pNetConn)
This function creates a network connection.
Run-time context structure.
EXTERNRT int rtxNetInitConn(OSCTXT *pctxt, OSRTNETCONN *pNetConn, const char *url)
This function initializes a network connection structure.