High Performance OPC UA Server SDK
1.2.0.193
|
Internal structure of an async socket. More...
#include <uanetwork_types.h>
Data Fields | |
UA_NET_P_SOCKET | hSocket |
Native socket handle. More... | |
struct ua_socket_op * | pCurrentSend |
Buffer for sending data. More... | |
struct ua_socket_op * | pCurrentRead |
Buffer for receiving data. More... | |
int | EventBits |
Types of events the socket shoud react to. More... | |
enum ua_net_state | eState |
Current socket state. More... | |
unsigned int | uSetTimeOut |
Requested maximum time between two IO operations. More... | |
unsigned int | uTimeOutCounterMS |
Time remaining before the socket times out. More... | |
ua_socket_cb * | pfCallback |
Event callback pointer. More... | |
void * | pvCallbackData |
Data passed to pfCallback. More... | |
struct ua_net_base * | pNetworkBase |
Parent object. More... | |
int | iPending |
Pending operation counter. More... | |
enum ua_socket_type | type |
Socket type: STREAM, DGRAM. | |
SOCKET | hSocket |
struct pbuf * | pReadBufStore |
Queue of received but unprocessed data. More... | |
unsigned int | uReadBufOffset |
Index of first unreceived byte in pReadBufStore. More... | |
Internal structure of an async socket.
Structure of an socket using MS overlapped IO.
enum ua_net_state eState |
Current socket state.
Types of events the socket shoud react to - May be removed in the future.
int EventBits |
Types of events the socket shoud react to.
Native socket handle.
UA_NET_P_SOCKET hSocket |
Native socket handle.
int iPending |
Pending operation counter.
Parent object - in this case the completion port.
struct ua_socket_op * pCurrentRead |
Buffer for receiving data.
struct ua_socket_op * pCurrentSend |
Buffer for sending data.
ua_socket_cb * pfCallback |
Event callback pointer.
Time remaining before the socket times out.
struct ua_net_base * pNetworkBase |
Parent object.
Data passed to pfCallback.
struct pbuf* pReadBufStore |
Queue of received but unprocessed data.
void * pvCallbackData |
Data passed to pfCallback.
Socket event callback pointer.
unsigned int uReadBufOffset |
Index of first unreceived byte in pReadBufStore.
unsigned int uSetTimeOut |
Requested maximum time between two IO operations.
Current socket state.
unsigned int uTimeOutCounterMS |
Time remaining before the socket times out.
Requested maximum time between two IO operations.