• About
  • Privacy Policy
  • Utilities
Darchuk.NET

Networking

Bit Flags

August 2, 2019 by Robert 1 Comment

Bit flags aren’t probably something that you think about in traditional/modern software development.  You might if you are in the IoT space, but if you have the pleasure of a ton of RAM, you probably aren’t super concerned with saving space.  However, recently I’ve been thinking a lot about network communication and how to minimize … [Read more…]

Posted in: .NET Core, C#, Web Development Tagged: Bitwise, C#, enum, Flags, Networking

Bytes and Nibbles and Hex

July 26, 2019 by Robert Leave a Comment

I’ve never really liked hexadecimal notation.  The combination of letters and numbers always made my brain turn off.  I mean, I understand it, but it never seemed like it made a difference or not. via GIPHY Binary Obviously, computers think in ones and zeroes.  The smallest unit is typically talked about as a byte, which … [Read more…]

Posted in: C#, Web Development Tagged: Bit Shifting, Bitwise, byte, C#, Networking, nibble

C# Setting Socket Keep-Alive

January 4, 2019 by Robert 4 Comments

TCP is a good choice for communication if you want to know that your message got to where it was going, as opposed to UDP where the communication is fire-and-forget. When a message is sent, the recipient sends an acknowledgement that the message arrived successfully.  If you don’t get an acknowledgement, you have a pretty … [Read more…]

Posted in: C# Tagged: C#, KeepAlive, Networking, Socket, TCP, TcpClient

Recent Posts

  • Allowing trailing JSON commas in ASP.NET Core 3
  • YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha
  • Logging in a .NET Core 3 SignalR client
  • .NET Core 3 unit testing project sdk
  • .NET Core 3.0 Upgrade–New JSON Serializer Gotchas

Recent Comments

  1. Robert on C# Setting Socket Keep-Alive
  2. Oliver Schramm on C# Setting Socket Keep-Alive
  3. John Anderson on Waiting for a keypress asynchronously in a C# console app
  4. Ronald Garlit on .NET Core 3 unit testing project sdk
  5. Ronald Garlit on .NET Core 3 unit testing project sdk

Copyright © 2025 Darchuk.NET.

Omega WordPress Theme by ThemeHall