It is most likely that the remote device is not responding to the datagram. If there is no data to be read from the socket then recvfrom will block forever, or until the connection is broken. You should use a non-blocking method to check whether any data has been received and use some form of timed loop to allow the program to abort the activity after a fixed time period. See recvfrom function (winsock.h) - Win32 apps | Microsoft Docs[^] for full details.
Would anyone know how to obtain a HINTERNET handle I tried OpenInternet included wininet.h but got errors as there were #define openinternet openinternetW and the compiler said openinternetW not defined even though I saw the function prototype in wininet.h
all I come up with searching is how to install FTP on Windows which I already did I tested it out from z/os yesterday using FTP client API EZAFTPKS the MSDN api to lets me know about folder change I was just thinking rather then hard code the folder that I am monitoring for changes I could get the FTP folder name from registry doesn't seem like there is an entry
With e.g. Ubuntu, it is simple: There is a single Docker base image, updated in step with the non-dockerized OS.
With Windows, you got a plethora of them: servercore, nanoserver, dotnet-framework, ... And it is difficult to tell which ones are meant as "general" bases, which ones are tailored to a (small or large) specific application area, which ones are more or less complete applications rather than primarily intended as base images.
The one-line description rarely tells more than the name does, and says nothing about how this alaternative compares to other alternatives.
Is there anywhere to be found a "comparison chart" over the various (general) Windows Docker base images, telling which features are included or not in each of them?
I will explain these in the most simple words, but you need to bear with me that the usage of these images is not for general cases, they are specialized images available for special needs.
servercore, nanoserver, dotnet-framework
As their names suggest, they are the images for Windows Server, and here is the description for the image,
The official Windows Server Core base image for containers
And that clears up that this image is the base image for containers that would work on Windows Server. Same for others, for example the dotnet-framework. Who doesn't know this one?
Oh, and to your curiosity, there is still a .NET SDK image as well that provides a base image for your build tool.
which ones are more or less complete applications rather than primarily intended as base images.
Like I said, they all have their specialized features, there is Windows docker image, if that is what you mean. Comparing Ubuntu with Windows Server, or .NET framework is like comparing oranges to apple juice (get it?).
how this alaternative compares to other alternatives.
Seems like you have not been working on Windows environments lately, or perhaps you are a Linux guy, because that is pretty much clear the way Windows works.
Windows has some native app development frameworks, Win32, MFC, WinRT (Windows Runtime) and Universal Apps, and then there are some modern frameworks (older actually!) like .NET framework, .NET Core, .NET Standard, and much more... Then there are different flavors of Windows like Windows for consumers—the Windows we use—and Windows Server for workloads, think of that as Ubuntu Server, then there is Windows for IoT, Windows Mobile (dead almost), and whatnot...
Man, Windows is merely 2 years younger than this universe, and ever expanding.
I would recommend spending some time with Windows development environments and these names will make much more sense than they do right now.
Is there anywhere to be found a "comparison chart"
This is something that I completely agree with, for beginners this can be helpful. Would you like to contribute your findings on CodeProject for others to benefit from?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~