![]() |
|
#11
|
||||
|
||||
Re: G++ question...Yeah... I got it for like $5 new on Amazon. I read all of the bad reviews, but I figured I'd give it a shot anyways. It is pretty bad. The first 100 pages were crap. Now that I have a handle on the proper g++ command line arguments, I think I can get his code working. If not, I'll get the concepts at least.
Anyways, I resolved all of those annoying warnings that pop up when it builds. The all come from his use of 'NULL' in the SocketObject.cpp. Just replace all occurences with '\0' and the warnings will go away. As for running the program... start up the server with: (progname) server portNum Then run the client in another console: (progname) client serverIP portNum He has basically no error checking in his code as far as command line arguments are concerned, so if you don't put in the right command line arguments, it just won't work. __________________
If practice makes perfect and nobody's perfect... why practice? Homepage: http://www.treywhite.com Blog: http://www.treywhite.com/blog.php Web Design Company: http://www.ewebproductions.com |
||||
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Borland compile question | monnick | C++ Forum | 4 | 12-Feb-2006 18:40 |
| non-member function question | crq | C++ Forum | 1 | 03-Feb-2005 22:59 |
| Simple question on arrays--please help! | brookeville | C++ Forum | 16 | 18-Nov-2004 00:23 |
| Repetition structure problem and question | brookeville | C++ Forum | 17 | 29-Oct-2004 18:48 |
| question of practice | magiccreative | C++ Forum | 1 | 06-Feb-2004 08:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The