Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 14, 2006, 12:25:17 PM (18 years ago)
Author:
patrick
Message:

network socket and addresses passins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_socket.h

    r7954 r9291  
    2727     */
    2828    virtual void connectToServer( std::string host, int port ) = 0;
    29    
     29
    3030    /**
    3131     * disconnect from server
     
    4040     */
    4141    virtual bool writePacket(byte * data, int length) = 0;
    42    
     42
    4343    /**
    4444     * read a packet sent by another NetworkSocket
     
    5454     */
    5555    inline bool isOk() { return this->bOk; }
    56  
     56
     57    /** @returns the ip adderess of the destination socket */
     58    IPaddress getDestAddress() { return ip; }
     59
     60
    5761  protected:
    58     bool bOk;            //!< check for socket status
     62    bool              bOk;            //!< check for socket status
    5963
     64    IPaddress         ip;             //!< host,port
    6065};
    6166
Note: See TracChangeset for help on using the changeset viewer.