ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/SubNet.h
(Generate patch)

Comparing projects/cms/source/host/c++/SubNet.h (file contents):
Revision 1.1 by ab11, Mon Mar 5 14:02:27 2001 UTC vs.
Revision 1.2 by ab11, Tue Mar 27 00:04:55 2001 UTC

# Line 9 | Line 9 | class SubNet {
9      public:
10          // constructor
11          SubNet(string host, int port);
12 <        SubNet();
13 <        string sendTCP(string text);
14 <        void sendUPDPacket( string host, int port, string message );
15 <        string getIPfromHost(string hostname);
16 <        string getHostName();
17 <        string getHostIP();
18 <        int isConnected();
12 >        SubNet();   // no arg constructor
13 >        ~SubNet(); // destructor
14 >            string sendTCP(string text);
15 >            void sendUPDPacket( string host, int port, string message );
16 >        int isConnected();
17          
18      private:
19          int connect;
20          iosockinet * socket;    // TCP socket
21 <        osockinet * udp;        // UDP socket
24 <        
25 <        
26 <        
27 <                
21 >        osockinet * udp;            // UDP socket
22   }; // class

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines