Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | List of all members
socks4::reply Class Reference

#include <socks4.hpp>

Public Types

enum  status_type { request_granted = 0x5a, request_failed = 0x5b, request_failed_no_identd = 0x5c, request_failed_bad_user_id = 0x5d }
 

Public Member Functions

 reply ()
 
boost::array< asio::mutable_buffer, 5 > buffers ()
 
bool success () const
 
unsigned char status () const
 
asio::ip::tcp::endpoint endpoint () const
 

Detailed Description

Definition at line 81 of file socks4.hpp.

Member Enumeration Documentation

Enumerator
request_granted 
request_failed 
request_failed_no_identd 
request_failed_bad_user_id 

Definition at line 84 of file socks4.hpp.

Constructor & Destructor Documentation

socks4::reply::reply ( )
inline

Definition at line 92 of file socks4.hpp.

Member Function Documentation

boost::array<asio::mutable_buffer, 5> socks4::reply::buffers ( )
inline

Definition at line 98 of file socks4.hpp.

asio::ip::tcp::endpoint socks4::reply::endpoint ( ) const
inline

Definition at line 123 of file socks4.hpp.

unsigned char socks4::reply::status ( ) const
inline

Definition at line 118 of file socks4.hpp.

bool socks4::reply::success ( ) const
inline

Definition at line 113 of file socks4.hpp.


The documentation for this class was generated from the following file: