mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Device: Add GetComponentVersions and GetSupportedFeatures commands
Driver: Fix re-open and failed open cases for TCP Also enforces even length packets for the RED2, FIRE3, and FIRE3 FlexRay devices.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <optional>
|
||||
#include <memory>
|
||||
|
||||
#include "icsneo/communication/driver.h"
|
||||
#include "icsneo/device/founddevice.h"
|
||||
@@ -45,7 +45,7 @@ private:
|
||||
NetworkInterface interface;
|
||||
uint32_t dstIP;
|
||||
uint16_t dstPort;
|
||||
std::optional<Socket> socket;
|
||||
std::unique_ptr<Socket> socket;
|
||||
void readTask() override;
|
||||
void writeTask() override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user