Mistake on this page?
Report an issue in GitHub or email us
ICMPSocket.h
1 /** \addtogroup netsocket */
2 /** @{*/
3 /* ICMPSocket
4  * Copyright (c) 2015 ARM Limited
5  * SPDX-License-Identifier: Apache-2.0
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef ICMPSOCKET_H
21 #define ICMPSOCKET_H
22 
23 #include "netsocket/InternetSocket.h"
24 #include "netsocket/InternetDatagramSocket.h"
25 #include "netsocket/NetworkStack.h"
27 #include "rtos/EventFlags.h"
28 
29 
30 /** ICMP socket implementation.
31  */
33 public:
34  /** Create an uninitialized socket.
35  *
36  * @note Must call open to initialize the socket on a network stack.
37  */
38  ICMPSocket();
39 
40 #if !defined(DOXYGEN_ONLY)
41 
42 protected:
43  nsapi_protocol_t get_proto() override;
44 
45 #endif //!defined(DOXYGEN_ONLY)
46 };
47 
48 
49 #endif
50 
51 /** @}*/
ICMPSocket()
Create an uninitialized socket.
Network Interface base class.
ICMP socket implementation.
Definition: ICMPSocket.h:32
NetworkStack class.
InternetDatagramSocket socket implementation.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.