EHS
Loading...
Searching...
No Matches
ICMP_W32.h
Go to the documentation of this file.
1#pragma once
2
3#include "BaseICMP.h"
4
5namespace ehs
6{
7 class ICMP : public BaseICMP
8 {
9 private:
10 Int_32 hdl;
11
12 public:
14
15 ICMP(IP version);
16
17 ICMP(ICMP &&icmp) noexcept;
18
19 ICMP(const ICMP &icmp);
20
21 ICMP &operator=(ICMP &&icmp) noexcept;
22
23 ICMP &operator=(const ICMP &icmp);
24
25 UInt_64 Send(const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size) override;
26
27 UInt_64 Receive(Str_8 &address, ICMP_Header header, Serializer<UInt_64> &data) override;
28
29 void SetReceiveTimeout(UInt_64 timeout) override;
30
31 bool IsValid() const override;
32 };
33}
Definition BaseICMP.h:23
Definition ICMP_LNX.h:8
ICMP & operator=(ICMP &&icmp) noexcept
UInt_64 Receive(Str_8 &address, ICMP_Header header, Serializer< UInt_64 > &data) override
ICMP & operator=(const ICMP &icmp)
ICMP(const ICMP &icmp)
ICMP(IP version)
UInt_64 Send(const Str_8 &address, ICMP_Header header, const Byte *data, UInt_64 size) override
void SetReceiveTimeout(UInt_64 timeout) override
ICMP(ICMP &&icmp) noexcept
bool IsValid() const override
Definition Serializer.h:25
Definition Anchor.h:6
int Int_32
Definition Types.h:51
IP
Definition Socket.h:29
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1902
unsigned char Byte
Definition Types.h:39
Definition BaseICMP.h:10