aiengine: XSockCli Struct Reference

| aiengine Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

- Data Structures
- Data Fields

Data Fields
XSockCli Struct Reference

This typedef contains the socket attributes which make the Client socket instance. More...

## Data Fields
sint32 | SockId
| Socket ID. More...
struct sockaddr_in | ServAddr
| Server socket address structure. More...
struct hostent * | Serv
| Server attributes structure. More...

## Detailed Description

This typedef contains the socket attributes which make the Client socket instance.

User need to allocate memory for this instance and the pointer of the same is passed to the other client socket APIs.

## Field Documentation

struct hostent* XSockCli::Serv

Server attributes structure.

Referenced by XSock_CliCreate().

struct sockaddr_in XSockCli::ServAddr

Server socket address structure.

Referenced by XSock_CliCreate().

sint32 XSockCli::SockId

Socket ID.

Referenced by XSock_CliClose(), XSock_CliCreate(), XSock_CliRead(), and XSock_CliWrite().