Sorry if this would be better in the Tools forum...

I'm writing a network application, and the network code was developed on Linux,
compiles fine there. 

It's a client/server protocol, and most of the network code is encapsulated in
the Server class. This class includes several other classes as private data,
namely a TCPSocket class and a DirectoryServer class which also has a TCPSocket
class. They are declared as follows in Server class declaration:

TCPSocket               curr_server;

DirectoryServer dir_server;

In Codewarrior, the Server class compiles fine, but when it gets to the
DIrectoryServer class and the TCPSocket class code, I get a declaration syntax
error back in the Server class declaration. It's like the class header files
were accepted, but when it got to the code of the classes, it decided we didn't
declare them correctly. Neither class takes an params for the constructors. 

Is there anything wierd about Palm and C++ classes, or am I just being stupid
and missing something obvious...It's been a while since I used C++.

Steve Cochran

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to