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