27 #ifndef _RTXNETUTIL_H_ 28 #define _RTXNETUTIL_H_ 36 OSRTNetNoProto, OSRTNetHttp, OSRTNetHttps, OSRTNetFtp, OSRTNetOtherP
40 OSRTNetNoTrans, OSRTNetTCP, OSRTNetUDP, OSRTNetOtherT
43 typedef struct OSRTNETURL {
49 const char* authstring;
50 OSRTNetProtocol protocol;
55 typedef struct OSRTNETCONN {
60 OSRTNetTransport transport;
114 (
OSCTXT* pctxt, OSRTNETCONN* pNetConn,
const char* url);
125 EXTERNRT
int rtxNetParseURL (OSRTNETCONN* pNetConn,
const char* url);
127 EXTERNRT
int rtxNetParseURL2
128 (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.