ThingWorx C SDK
Public Attributes | List of all members
twSocket Struct Reference

twSocket base type definition. More...

#include <twOSPort.h>

Public Attributes

TW_SOCKET_TYPE sock
 
TW_ADDR_INFO addr
 
TW_ADDR_INFO * addrInfo
 
char state
 
char * host
 
uint16_t port
 
char * proxyHost
 
uint16_t proxyPort
 
char * proxyUser
 
char * proxyPass
 

Detailed Description

twSocket base type definition.

Member Data Documentation

TW_ADDR_INFO twSocket::addr

The address to use

TW_ADDR_INFO* twSocket::addrInfo

#TW_ADDR_INFO struct head - use to free.

char* twSocket::host

The host name of the server.

uint16_t twSocket::port

The port the server is listening on.

char* twSocket::proxyHost

The host name of the proxy.

char* twSocket::proxyPass

The password to use to authenticate with the proxy.

uint16_t twSocket::proxyPort

The port of the proxy.

char* twSocket::proxyUser

The username to use to authenticate with the proxy.

TW_SOCKET_TYPE twSocket::sock

Socket descriptor.

char twSocket::state

The current state of the twSocket.


The documentation for this struct was generated from the following file: