Skip to content
View sakno's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report sakno

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. dotnet/dotNext dotnet/dotNext Public

    Next generation API for .NET

    C# 1.9k 149

  2. Path MTU discovery in C# Path MTU discovery in C#
    1
    The following code allows to discover MTU between your local machine and remote host in C#:
    2
    ```csharp
    3
    static int? DiscoverMtu(IPAddress address, int timeout, int ttl = 240)
    4
     {
    5
     const int icmpEchoHeaderSize = 8;
  3. Lock-free queue in C# Lock-free queue in C#
    1
    public class LockFreeQueue<T>
    2
    {
    3
     private Node? head, tail;
    4
     
    5
     private void EnqueueWithContention(Node currentTail, Node newNode)