Changeset 9291 in orxonox.OLD for branches/proxy/src/lib/network/network_socket.h
- Timestamp:
- Jul 14, 2006, 12:25:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_socket.h
r7954 r9291 27 27 */ 28 28 virtual void connectToServer( std::string host, int port ) = 0; 29 29 30 30 /** 31 31 * disconnect from server … … 40 40 */ 41 41 virtual bool writePacket(byte * data, int length) = 0; 42 42 43 43 /** 44 44 * read a packet sent by another NetworkSocket … … 54 54 */ 55 55 inline bool isOk() { return this->bOk; } 56 56 57 /** @returns the ip adderess of the destination socket */ 58 IPaddress getDestAddress() { return ip; } 59 60 57 61 protected: 58 bool bOk; //!< check for socket status62 bool bOk; //!< check for socket status 59 63 64 IPaddress ip; //!< host,port 60 65 }; 61 66
Note: See TracChangeset
for help on using the changeset viewer.