Client/Server program in C
2016-08-23
0 0 0
no vote
Other
Earn points
server side of the program to communicate with a client program.
the client and server programs will will use the echo and reply functions to communicate.
to build/test:
-create the makefile
-to run makefile and compile, type "make"
-enter the command line paramaters to either take in a file or to take in user input
if, parameters to take in file is chosen then end of execution will complete
at end of file.
-e.g.: ./server
./client localhost 6889 yes my_input.txt
else if, parameters to have user input, then to stop you will have to enter
"no" at command prompt to exit.
-e.g
the client and server programs will will use the echo and reply functions to communicate.
to build/test:
-create the makefile
-to run makefile and compile, type "make"
-enter the command line paramaters to either take in a file or to take in user input
if, parameters to take in file is chosen then end of execution will complete
at end of file.
-e.g.: ./server
./client localhost 6889 yes my_input.txt
else if, parameters to have user input, then to stop you will have to enter
"no" at command prompt to exit.
-e.g
c
客户端
程序
服务器
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment