aiengine
Xilinx SDK Drivers API Documentation
xsock_servtest.c File Reference

Overview

This file contains the entry point for the server socket connection test.

MODIFICATION HISTORY:
Ver   Who     Date     Changes


1.0 Naresh 02/19/2018 Initial creation 1.1 Naresh 07/11/2018 Updated copyright info 1.2 Nishad 12/05/2018 Renamed ME attributes to AIE

#define XAIE_BUFLEN   50
 Buffer length for socket communication. More...
 
char rcvmsgpass [] = "SERVER: Receive message successful"
 < Server socket receive data success message More...
 
int main (int argc, char *argv[])
 This is the main entry point for the server socket test. More...
 

Macro Definition Documentation

#define XAIE_BUFLEN   50

Buffer length for socket communication.

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 
)

This is the main entry point for the server socket test.

Parameters
argc: Number of command line arguments.
argv[0]: File name.
argv[1]: Port number for the socket connection.
Returns
0 on success, else 1.
Note
None.

References XAIE_BUFLEN.

Variable Documentation

char rcvmsgpass[] = "SERVER: Receive message successful"

< Server socket receive data success message

Server socket receive data fail message