Class QosRequest
Syntax
Fields
MaxPacketLen
Declaration
public const int MaxPacketLen = 1500
Field Value
MinPacketLen
Declaration
public const int MinPacketLen = 15
Field Value
RequestMagic
Declaration
public const byte RequestMagic = 89
Field Value
Properties
FlowControl
Declaration
public byte FlowControl { get; }
Property Value
Identifier
Declaration
public ushort Identifier { get; set; }
Property Value
Length
Declaration
public int Length { get; }
Property Value
Magic
Declaration
public byte Magic { get; }
Property Value
Sequence
Declaration
public byte Sequence { get; set; }
Property Value
Timestamp
Declaration
public ulong Timestamp { get; set; }
Property Value
Title
Declaration
public byte[] Title { get; set; }
Property Value
Version
Declaration
public byte Version { get; }
Property Value
Methods
Send(Int64, ref NetworkInterfaceEndPoint, DateTime)
Send the QosRequest packet to the given endpoint
Declaration
public (int, int) Send(long socket, ref NetworkInterfaceEndPoint endPoint, DateTime expireTimeUtc)
Parameters
Type |
Name |
Description |
Int64 |
socket |
Native socket descriptor
|
NetworkInterfaceEndPoint |
endPoint |
Remote endpoint to send the request
|
DateTime |
expireTimeUtc |
When to stop trying to send
|
Returns
Type |
Description |
ValueTuple<Int32, Int32> |
(sent, errorcode) where sent is the number of bytes sent and errorcode is the error code if Send fails.
0 means no error.
|
Exceptions