RawINetSocketProtocol.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
14 #ifndef HH_SENF_Socket_Protocols_INet_RawINetSocketProtocol_
15 #define HH_SENF_Socket_Protocols_INet_RawINetSocketProtocol_ 1
16 
17 // Custom includes
18 #include "INetSocketProtocol.hh"
19 
20 namespace senf {
21 
23  //\{
24 
32  : public virtual INetSocketProtocol
33  {
34  public:
36  //\{
37 
38  unsigned available() const;
39  bool eof() const;
40 
41  //\}
42  };
43 
44  //\}
45 }
46 
47 #endif /*HH_SENF_Socket_Protocols_INet_RawINetSocketProtocol_*/
unsigned available() const
Return (maximum) number of bytes available for reading without < blocking.
Generic addressing type independent INet protocol facet.
Protocol facet to support RAW operations upon IPv4/6.
bool eof() const
Check for end-of-file condition.
IPv[46]Protocol public header.