Skip to main content

New answers tagged

0 votes

WriteFile failure when networkshare is disconnected

The empty records happen because Windows caches network writes. When the share goes offline, WriteFile fails but space is already reserved, creating zeroed records. Fixes: Use FILE_FLAG_WRITE_THROUGH ...
Muhammad Awais's user avatar
0 votes

Set timeout for winsock recvfrom

You must use WSA_FLAG_OVERLAPPED when creating the socket with `WSASocket`. int mHandle = WSASocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, NULL, 0, WSA_FLAG_OVERLAPPED); Source: https://www....
calandoa's user avatar
  • 6,175
1 vote

HTTP Request to a Specific Website Fails with "Connection Timed Out" in Code, but Works in Browser

@oliverhaven This is typically caused by the site's firewall blocking the default Python requests header. Try adding a common browser User-Agent: python headers = {'User-Agent': 'Mozilla/5.0 (X11; ...
Jade Wilder's user avatar
0 votes

Python - Pip Install - Proxy Error - 'Cannot connect to proxy.', OSError'

I encounter the same error in docker build process. 1.332 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Your proxy ...
Guilin Liang's user avatar
Advice
0 votes
0 replies
0 views

The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan

There's been simple multiplayer games developed using C, Unix socket libs and telnet pretty much since the dawn of time, many which are open source. You can just peek at how those games were designed. ...
Lundin's user avatar
  • 220k
Advice
1 vote
0 replies
0 views

The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan

My advice is less about your stated question, and instead about something much more boring, yet far more important: build and version control systems. You mentioned having to start from scratch when ...
vandench's user avatar
  • 2,505
Advice
3 votes
0 replies
0 views

The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan

I think it is good that you have structured your code in such a way that you are keeping the server code separate from the client code. That way, if done properly, only the server code will have to be ...
Andreas Wenzel's user avatar
Advice
0 votes
0 replies
0 views

The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan

I agree with the comment that C would be harder than C++ or another language, it's certainly possible to do in C. You would end up recreating a lot of C++ or object oriented features as part of your ...
John Bayko's user avatar
  • 1,139
Advice
0 votes
0 replies
0 views

The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan

In order to implement multiplayer, you need the (working) single player version. This means that in multiplayer mode, the only thing that differs is controlling an additional character (vehicle or ...
Erdal Küçük's user avatar
Advice
0 votes
0 replies
0 views

The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan

Yes, multiplayer will add a lot of complexity. And it will only be made harder by not having it in your design and implementation from the very beginning. Rendering, sound effects, visual effects, etc....
Some programmer dude's user avatar
0 votes

Error 10061 while trying to connect to my server

I've experienced the same issue. The problem was caused by the Windows NAT service (winnat), which had taken over the UDP port 69 used by TFTP. After running net stop winnat Tftpd64 started ...
Leo Chane's user avatar
3 votes
Accepted

Sending raw packets back to host's networking stack

What am I missing? Network interfaces work like a pipe. If you send a packet through one end, it always comes out through the other – a packet sent through the 'host' end will not be reflected back ...
grawity's user avatar
  • 19.9k
0 votes

How to make system proxy settings apply to HttpClient.GetAsync() without restarting Windows?

Since .net 9.0, the HttpClient's default proxy setting will be automatically updated when the related registry key is changed. (The premise is that the proxy is not set through HTTP(S)_PROXY ...
shingo's user avatar
  • 29.8k
0 votes

How to make system proxy settings apply to HttpClient.GetAsync() without restarting Windows?

Due to the fact that the proxy settings are being changed exclusively for this process, I would recommend changing the code instead of global windows settings. An example of what you could do can be ...
Stavros Morrison's user avatar
2 votes

Increment the 3rd octet in excel by value of 4

With a simple add expression place the formula in A2 and dragdown =TEXTJOIN(".",TRUE,TEXTSPLIT(A1,".")+{0,0,4,0})
Black cat's user avatar
  • 7,570
-1 votes

Error Fetching YouTube Transcript Using YouTubeTranscriptApi on Server but Works Locally

This isn’t an issue with your code; it’s caused by YouTube blocking requests from cloud server IPs (like AWS, GCP, etc.). When you run YouTubeTranscriptApi locally, your home/residential IP works fine....
Pavan Mistry's user avatar
0 votes

Who is using the Subnet inside a VNet in Azure

To see which resources are using a subnet, go to the Virtual Network (VNet) where the subnet is located. In the sidebar, select Connected Devices. This section lists all the resources currently ...
Adrian Giraldo's user avatar

Top 50 recent answers are included