xdrpp
RFC4506 XDR compiler and message library
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
xdr::sock_t Struct Reference

Abstract away the type of a socket (for windows). More...

#include <socket.h>

Public Types

using type = int
 

Public Member Functions

constexpr sock_t (type fd)
 
bool operator== (sock_t s) const
 
bool operator!= (sock_t s) const
 
bool operator< (sock_t s) const
 
 operator bool () const
 
type fd () const
 

Public Attributes

type fd_
 

Static Public Attributes

static constexpr type invalid = -1
 

Detailed Description

Abstract away the type of a socket (for windows).

Definition at line 28 of file socket.h.


The documentation for this struct was generated from the following file: