~ubuntu-branches/debian/experimental/libtorrent/experimental

« back to all changes in this revision

Viewing changes to rak/socket_address.h

  • Committer: Bazaar Package Importer
  • Author(s): Jose Luis Rivas
  • Date: 2007-03-31 10:31:05 UTC
  • mto: (4.1.4 gutsy) (6.2.1 squeeze) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20070331103105-jzpp1rml6ud0ff75
Tags: upstream-0.11.4
ImportĀ upstreamĀ versionĀ 0.11.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
class socket_address {
64
64
public:
65
 
  static const sa_family_t af_local  = AF_LOCAL;
66
 
  static const sa_family_t af_unix   = AF_UNIX;
67
 
  //  static const sa_family_t af_file   = AF_FILE;
68
65
  static const sa_family_t af_inet   = AF_INET;
69
66
  static const sa_family_t af_inet6  = AF_INET6;
70
67
  static const sa_family_t af_unspec = AF_UNSPEC;
71
68
 
 
69
#ifdef AF_LOCAL
 
70
  static const sa_family_t af_local  = AF_LOCAL;
 
71
#else
 
72
  static const sa_family_t af_local  = AF_UNIX;
 
73
#endif
 
74
 
72
75
  bool                is_valid() const;
73
76
  bool                is_bindable() const;
74
77
  bool                is_address_any() const;