This is a fairly simple project for my networking class thats already semi-partially coded in C++ but it just needs to be completed and would appreciate your wise help.
Please look at the attached zip since it contains a more indepth description than is here. Thanks. There are 3 classes, in this project:
**Agent** - contains main() and has a command prompt input to send/recieve messages
**Communication** - Handles all the capabilites of sending/recieving to to other Agents through TCP / UDP
**VerifyXML** - Parses/validates XML messages using Xerces and returns boolean valid/invalid to Agent class.
Full software specifications are included within the zip as well, some diagrams are incorrect. The bottomline is that that when run, it will be able to read in an XML file specified at the command line, specify an Agent to send to, then send the XML file to the other Agent and that is it.
A function find() is required within Communication class to only send via UDP packets to a directory server, which is not part of implementation.
[login to view URL]~donahoo/practical/CSockets/practical/
**Sample input/output on command line:**
$ ./Agent
Usage: ./Agent
$ ./Agent Bob 5950
Running as Agent : Bob
Press 'q' to quit
send Dave [login to view URL]
send Dave [login to view URL]
Error: XML not valid in [login to view URL]
Dave successfully sent [login to view URL]
q
Closing..
$
I am always open to suggestions on implementation as long as they meet what the program is supposed to do and things described here are not necessarily set in stone, but any changes should be consulted with first. Please contact me with any questions regarding the project and fair bidding suggestions. Thanks.
## Deliverables
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).
## Platform
Coded in C++ This program needs run under current Cygwin using Xerces 2.5 or the current stable implementation in last Cygwin release. Should be able to run on Windows XP or operating systems capable of running Cygwin and Xerces.