Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Typedefs | Functions
socket.h File Reference
#include "xgboost/collective/socket.h"
#include <arpa/inet.h>
#include <fcntl.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <unistd.h>
#include <cerrno>
#include <chrono>
#include <cstring>
#include <string>
#include <unordered_map>
#include <vector>
#include "utils.h"
#include <sys/poll.h>

Go to the source code of this file.

Data Structures

struct  rabit::utils::PollHelper
 helper data structure to perform poll More...
 

Namespaces

namespace  rabit
 namespace of rabit
 
namespace  rabit::utils
 namespace for helper utils of the project
 

Macros

#define IS_MINGW()   defined(__MINGW32__)
 

Typedefs

using SOCKET = int
 
using sock_size_t = size_t
 

Functions

template<typename PollFD >
int rabit::utils::PollImpl (PollFD *pfd, int nfds, std::chrono::seconds timeout)
 

Detailed Description

Copyright (c) 2014-2022 by XGBoost Contributors

Author
Tianqi Chen