~ubuntu-branches/ubuntu/oneiric/libtorrent/oneiric

« back to all changes in this revision

Viewing changes to src/tracker/tracker_udp.h

  • Committer: Bazaar Package Importer
  • Author(s): Jose Luis Rivas
  • Date: 2007-09-11 15:12:31 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070911151231-brompt7pecvfbaau
Tags: 0.11.8-1
* New upstream version
* debian/patches/update-changelog.patch:
 + Updated with the new changelog.
* debian/control:
 + Added the Homepage field, deleted Homepages from the descriptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// libTorrent - BitTorrent library
2
 
// Copyright (C) 2005-2006, Jari Sundell
 
2
// Copyright (C) 2005-2007, Jari Sundell
3
3
//
4
4
// This program is free software; you can redistribute it and/or modify
5
5
// it under the terms of the GNU General Public License as published by
37
37
#ifndef LIBTORRENT_TRACKER_TRACKER_UDP_H
38
38
#define LIBTORRENT_TRACKER_TRACKER_UDP_H
39
39
 
 
40
#include <rak/socket_address.h>
 
41
 
40
42
#include "net/protocol_buffer.h"
41
 
#include <rak/socket_address.h>
42
43
#include "net/socket_datagram.h"
43
44
#include "globals.h"
44
45
#include "tracker_base.h"
74
75
  void                receive_failed(const std::string& msg);
75
76
  void                receive_timeout();
76
77
 
77
 
  bool                parse_url();
 
78
  void                start_announce(const sockaddr* sa, int err);
78
79
 
79
80
  void                prepare_connect_input();
80
81
  void                prepare_announce_input();
84
85
  bool                process_error_output();
85
86
 
86
87
  rak::socket_address m_connectAddress;
 
88
  int                 m_port;
87
89
 
88
90
  DownloadInfo::State m_sendState;
89
91
  uint64_t            m_sendUp;
90
92
  uint64_t            m_sendDown;
91
93
  uint64_t            m_sendLeft;
92
94
 
 
95
  void*               m_slotResolver;
 
96
 
93
97
  uint32_t            m_action;
94
98
  uint64_t            m_connectionId;
95
99
  uint32_t            m_transactionId;