aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h')
-rw-r--r--contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h b/contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h
index df10b64587..b62724abbb 100644
--- a/contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h
+++ b/contrib/libs/poco/Net/include/Poco/Net/RawSocketImpl.h
@@ -1,56 +1,56 @@
-//
-// RawSocketImpl.h
-//
-// Library: Net
-// Package: Sockets
-// Module: RawSocketImpl
-//
-// Definition of the RawSocketImpl class.
-//
-// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#ifndef Net_RawSocketImpl_INCLUDED
-#define Net_RawSocketImpl_INCLUDED
-
-
-#include "Poco/Net/Net.h"
-#include "Poco/Net/SocketImpl.h"
-
-
-namespace Poco {
-namespace Net {
-
-
-class Net_API RawSocketImpl: public SocketImpl
- /// This class implements a raw socket.
-{
-public:
- RawSocketImpl();
- /// Creates an unconnected IPv4 raw socket with IPPROTO_RAW.
-
- RawSocketImpl(SocketAddress::Family family, int proto = IPPROTO_RAW);
- /// Creates an unconnected raw socket.
- ///
- /// The socket will be created for the
- /// given address family.
-
- RawSocketImpl(poco_socket_t sockfd);
- /// Creates a RawSocketImpl using the given native socket.
-
-protected:
- void init(int af);
- void init2(int af, int proto);
-
- ~RawSocketImpl();
-};
-
-
-} } // namespace Poco::Net
-
-
-#endif // Net_RawSocketImpl_INCLUDED
+//
+// RawSocketImpl.h
+//
+// Library: Net
+// Package: Sockets
+// Module: RawSocketImpl
+//
+// Definition of the RawSocketImpl class.
+//
+// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#ifndef Net_RawSocketImpl_INCLUDED
+#define Net_RawSocketImpl_INCLUDED
+
+
+#include "Poco/Net/Net.h"
+#include "Poco/Net/SocketImpl.h"
+
+
+namespace Poco {
+namespace Net {
+
+
+class Net_API RawSocketImpl: public SocketImpl
+ /// This class implements a raw socket.
+{
+public:
+ RawSocketImpl();
+ /// Creates an unconnected IPv4 raw socket with IPPROTO_RAW.
+
+ RawSocketImpl(SocketAddress::Family family, int proto = IPPROTO_RAW);
+ /// Creates an unconnected raw socket.
+ ///
+ /// The socket will be created for the
+ /// given address family.
+
+ RawSocketImpl(poco_socket_t sockfd);
+ /// Creates a RawSocketImpl using the given native socket.
+
+protected:
+ void init(int af);
+ void init2(int af, int proto);
+
+ ~RawSocketImpl();
+};
+
+
+} } // namespace Poco::Net
+
+
+#endif // Net_RawSocketImpl_INCLUDED