mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Send hello packet.
This commit is contained in:
@@ -2,7 +2,7 @@ namespace DiscImageChef.Devices.Remote
|
||||
{
|
||||
public class Consts
|
||||
{
|
||||
public const string PacketId = "DICPACKT";
|
||||
public const ulong PacketId = 0x6873678065677584; // "DICPACKT"
|
||||
public const int PacketVersion = 1;
|
||||
public const int MaxProtocol = 1;
|
||||
}
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace DiscImageChef.Devices.Remote
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
||||
public struct DicPacketHeader
|
||||
{
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
|
||||
public byte[] id;
|
||||
public ulong id;
|
||||
|
||||
public uint len;
|
||||
public byte version;
|
||||
|
||||
Reference in New Issue
Block a user