I need progress report about this project before deadline.
Hi, this is for a network programming class that uses the book Internetworking with TCP/IP : Client-Server Programming by **
Douglas Comer & David Stevens**, Volume III (BSD Unix and ANSI C), 2nd edition.
I find myself very stuck and have a deadline of about 7am EST this Wed. This is a C assignment with networking and it is in on Unix. Loopback address of 127.0.0.1 can be used for all testing and design purposes. The network open,close,read, and write work as they were supplied with the assignment.* *I have about half of it done but it works poorly. The data structure for the messages should resemble what is described in the assignment and not the all char structures I made. "Post" appears to work ok. "Locate" sort of works. The loops are all messed up and throwing things off in locate. Also, whatever I did the structure is not saving so maybe writing to a file is the only way to save a structure? I dont know. Anyway, I have attached code. The assignment I need help finishing is described in detail in ass1 file. Please note that once the server returns the info to the client, the client then needs to automatically use the returned info to connect to the peer and download the requested file(see attached ass1 file). My program is all in TCPechod.c for the server side and TCPecho.c for the client side. All of the other files you can ignore. Some are used for the network connection, others are included because the Makefile uses them.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
BSD Unix and ANSI C