Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
ICMPSocket.h
00001 /** \addtogroup netsocket */ 00002 /** @{*/ 00003 /* ICMPSocket 00004 * Copyright (c) 2015 ARM Limited 00005 * 00006 * Licensed under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 00019 #ifndef ICMPSOCKET_H 00020 #define ICMPSOCKET_H 00021 00022 #include "netsocket/InternetSocket.h" 00023 #include "netsocket/InternetDatagramSocket.h" 00024 #include "netsocket/NetworkStack.h" 00025 #include "netsocket/NetworkInterface.h" 00026 #include "rtos/EventFlags.h" 00027 00028 00029 /** ICMP socket implementation. 00030 */ 00031 class ICMPSocket : public InternetDatagramSocket { 00032 public: 00033 /** Create an uninitialized socket. 00034 * 00035 * @note Must call open to initialize the socket on a network stack. 00036 */ 00037 ICMPSocket(); 00038 00039 #if !defined(DOXYGEN_ONLY) 00040 00041 protected: 00042 virtual nsapi_protocol_t get_proto(); 00043 00044 #endif //!defined(DOXYGEN_ONLY) 00045 }; 00046 00047 00048 #endif 00049 00050 /** @}*/
Generated on Tue Jul 12 2022 13:54:24 by
