| Class | RubyTorrent::Server |
| In: |
lib/rubytorrent/server.rb
|
| Parent: | Object |
The Server coordinates all Packages available on the machine. It instantiates one Controller for each Package. It‘s also responsible for the creation of all TCP connections—it sets up the TCP socket, receives incoming connections, validates handshakes, and hands them off to the appropriate Controller; it also creates outgoing connections (typically at Controllers’ requests) and sends the handshake.
| VERSION | = | 0 |
| PORT_RANGE | = | (6881 .. 6889) |
| http_proxy | [R] | |
| id | [R] | |
| port | [R] |