Pinned Loading
-
-
Path MTU discovery in C#
Path MTU discovery in C# 1The following code allows to discover MTU between your local machine and remote host in C#:
2```csharp
3static int? DiscoverMtu(IPAddress address, int timeout, int ttl = 240)
4{
5const int icmpEchoHeaderSize = 8;
-
Lock-free queue in C#
Lock-free queue in C# 1public class LockFreeQueue<T>
2{
3private Node? head, tail;
45private void EnqueueWithContention(Node currentTail, Node newNode)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.