userver: userver/engine/io/socket.hpp File Reference
Loading...
Searching...
No Matches
socket.hpp File Reference

Detailed Description

Socket representation.

Definition in file socket.hpp.

Go to the source code of this file.

#include <sys/socket.h>
#include <initializer_list>
#include <userver/engine/deadline.hpp>
#include <userver/engine/io/common.hpp>
#include <userver/engine/io/exception.hpp>
#include <userver/engine/io/fd_control_holder.hpp>
#include <userver/engine/io/sockaddr.hpp>
+ Include dependency graph for socket.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  engine::io::Socket
 Socket representation. More...
 
struct  engine::io::Socket::RecvFromResult
 

Namespaces

namespace  engine
 Asynchronous engine primitives.
 
namespace  engine::io
 Low-level asynchronous I/O interfaces.
 

Enumerations

enum class  engine::io::SocketType {
  engine::io::kStream = SOCK_STREAM ,
  engine::io::kDgram = SOCK_DGRAM ,
  kTcp = kStream ,
  kUdp = kDgram
}
 Socket type. More...