ThingWorx C SDK
Functions
twNtlm.h File Reference

NTLM proxy connection function prototype. More...

#include "twOSPort.h"

Go to the source code of this file.

Functions

int NTLM_connectToProxy (twSocket *sock, const char *req, const char *resp, char *user, char *password)
 Opens the socket and connects through the proxy specified in the twSocket structure. More...
 

Detailed Description

NTLM proxy connection function prototype.

Function Documentation

int NTLM_connectToProxy ( twSocket sock,
const char *  req,
const char *  resp,
char *  user,
char *  password 
)

Opens the socket and connects through the proxy specified in the twSocket structure.

Parameters
[in]sockA pointer to the twSocket to connect
[in]msgThe full Proxy Authorization header initial HTTP CONNECT attempt.
[in]userThe username for the proxy.
[in]passwordThe password for the proxy.
Returns
#TW_OK if successful, positive integral on error code (see twErrors.h) if an error was encountered.