UDPSocketProtocol.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 
18 #ifndef HH_SENF_Socket_Protocols_INet_UDPSocketProtocol_
19 #define HH_SENF_Socket_Protocols_INet_UDPSocketProtocol_ 1
20 
21 // Custom includes
22 #include "INetSocketProtocol.hh"
23 
24 //#include "UDPSocketProtocol.mpp"
25 //-/////////////////////////////////////////////////////////////////////////////////////////////////
26 
27 namespace senf {
28 
30  //\{
31 
38  : public virtual INetSocketProtocol
39  {
40  public:
42  //\{
43 
44  unsigned available() const;
45  bool eof() const;
46 
47  //\}
48  };
49 
50  //\}
51 }
52 
53 //-/////////////////////////////////////////////////////////////////////////////////////////////////
54 //#include "UDPSocketProtocol.cci"
55 //#include "UDPSocketProtocol.ct"
56 //#include "UDPSocketProtocol.cti"
57 #endif
58 
59 
60 // Local Variables:
61 // mode: c++
62 // fill-column: 100
63 // c-file-style: "senf"
64 // indent-tabs-mode: nil
65 // ispell-local-dictionary: "american"
66 // compile-command: "scons -u test"
67 // comment-column: 40
68 // End:
Generic addressing type independent INet protocol facet.
IPv[46]Protocol public header.
unsigned available() const
Return (maximum) number of bytes available for reading without < blocking.
Protocol facet to support UDP operations.
bool eof() const
Check for end-of-file condition.