Back to Site
Loading...
Searching...
No Matches
krpc.h File Reference
#include "bencode.h"
#include "socket.h"
#include <string>
#include <vector>
#include <array>
#include <memory>
#include <atomic>
Include dependency graph for krpc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  librats::KrpcNode
 KRPC Node information. More...
 
struct  librats::KrpcMessage
 KRPC Message structure. More...
 
class  librats::KrpcProtocol
 KRPC Protocol implementation. More...
 

Namespaces

namespace  librats
 

Enumerations

enum class  librats::KrpcMessageType { librats::Query , librats::Response , librats::Error }
 KRPC Message types. More...
 
enum class  librats::KrpcQueryType { librats::Ping , librats::FindNode , librats::GetPeers , librats::AnnouncePeer }
 KRPC Query types. More...
 
enum class  librats::KrpcErrorCode { librats::GenericError = 201 , librats::ServerError = 202 , librats::ProtocolError = 203 , librats::MethodUnknown = 204 }
 KRPC Error codes. More...