ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/Socket.hpp
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Oct 31 22:10:36 2005 UTC (19 years, 6 months ago) by afaq
Branch: v00, MAIN
CVS Tags: DBS_0_0_3a, DBS_0_0_3, DBS_0_0_2, DBS_0_0_1, pre_DBS_0_0_1, post_dict_type_checking_merge, post_MiniPythonAPI_merged_to_trunk, pre_MiniPythonAPI_merge_to_trunk, DBS_0_0_0, vs20060320, AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges, BeforeJan2006SchemaChanges, before_message_removal, preXOverChanges, start, HEAD
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.1: +0 -0 lines
Log Message:
Adding Server code to the repository

File Contents

# User Rev Content
1 afaq 1.1 #ifndef _Socket_hpp_included_
2     #define _Socket_hpp_included_
3    
4    
5     #include <sys/socket.h>
6     #include <string>
7    
8    
9     class Socket{
10     private:
11     std::string fqdn;
12     int port;
13     int descriptor;
14     public:
15     Socket(std::string fqdn, int port);
16     Socket();
17     void setDes(int des);
18     void setFqdn(std::string fqdn);
19     void setPort(int port);
20     int getDes();
21     int connect();
22     };
23    
24     #endif
25