Skip to content

The Dummy Programmer

Stories of daily programming

  • Home
  • The Dummy Programmer Robot
    • Overview
    • Version history & downloads
    • Tutorials
      • TDP Robot – The basics
      • A simple SQL Server backup solution
      • A simple SQL Server backup solution – A next step
  • My other dummy projects
  • Games
    • Space Y: An Asteroids clone
  • Services
    • What’s my user agent
    • What’s my IP address
  • About
  • Toggle search form

Month: October 2020

System.Net.Sockets.SocketException (0x80004005): No such host is known

I was working on an old ASP.NET application written in C#, which uses the following method to code to get the IP address of the server it runs on: Apart from the doubt about the correctness of the code to obtain the IP address of the machine, at the line with the call to “Dns.GetHostEntry”,…

Read More “System.Net.Sockets.SocketException (0x80004005): No such host is known” »

ASP.NET

Reading data from a NetworkStream object in C#

Good morning folks! In this post I want to talk about a bug I discovered in my TDP.BaseServices library, which I remember you can download here. This bug prevented from properly deserializing objects I sent through the NetworkStream object. The problem was in the way I read data from a NetworkStream object. If you browse…

Read More “Reading data from a NetworkStream object in C#” »

C#

Copyright © 2023 The Dummy Programmer | Privacy Policy | Terms of use |

Powered by PressBook Masonry Dark