## struct Upnp_State_Var_Request

> Represents the request for current value of a state variable in a service state table.

struct in_addr CtrlPtIPAddr
  IP address of sender requesting the state variable.
DOMString CurrentVal
  The current value of the variable.
char DevUDN[NAME_SIZE]
  The unique device ID.
int ErrCode
  The result of the operation.
char ErrStr[LINE_SIZE]
  The error string in case of error.
char ServiceID[NAME_SIZE]
  The service ID.
int Socket
  The socket number of the connection to the requestor.
char StateVarName[NAME_SIZE]
  The name of the variable.

## Documentation

> Represents the request for current value of a state variable in a service state table.

`int ErrCode`
  The result of the operation.

`int Socket`
  The socket number of the connection to the requestor.

`char ErrStr[LINE_SIZE]`
  The error string in case of error.

`char DevUDN[NAME_SIZE]`
  The unique device ID.

`char ServiceID[NAME_SIZE]`
  The service ID.

`char StateVarName[NAME_SIZE]`
  The name of the variable.

`struct in_addr CtrlPtIPAddr`
  IP address of sender requesting the state variable.

`DOMString CurrentVal`
  The current value of the variable. This needs to be allocated by the caller. When finished with it, the SDK frees this DOMString.

Alphabetic index

This page was generated with the help of DOC++.