Question: Instructions: TCP Client Requirements: The server assembly code will be provided on D 2 L . You can copy some of the syscalls and struct
Instructions:
TCP Client Requirements:
The server assembly code will be provided on DL You can copy some of the syscalls and struct from TCP server to create the TCP client.
The TCP Client must be fully written in X bit Assembly language
It must be capable of connecting to provided TCP Server on localhost server running locally
The Client must do the following:
Connect to Server using TCP stack syscalls socket bind, listen, accept, etc. no external libraries are allowed for this task
Upon connection, the client will request between x and xFF random bytes from the server this will be done by sending appropriate request in HEX without prefix representation egFF
The server will then return the specified number of random bytes back to client. These must be stored in an output file see note about marking sections within file, below
Client application will then sorts these data according to requirements given to each group by your instructor each team will have different requirements for data sorting
The sorted data will be appended to the end of the output file from previous steps. Each section in the file must have obviously marked beginning of the random data and sorted data sections.
Note: similar to what you would see in PEM formatted certificates BEGINNING OF RANDOM DATA
Other requirements:
The code must include sufficient commenting technique
The code must be designed around procedures and functions, following standard C Calling Conventions
The program must utilize heap for data manipulation and stack for passing arguments and for local variables
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
