1
I have a c# client app. It sends data to my server using UDP.
However, this stops working after I upgrade to Windows 2019 Server.
the reason it stopped working is contained in this link:
Essentially, it says:
My conclusion is that this optimization (UDP Checksum Offload) was broken in the 1809 release and continues to remain broken in 1903. To work around it for now, the optimization needs to be disabled (seems to be enabled by default). This can be done in the Device Manager. Find your network adapter card in the list and go into Advanced tab. We only deal with IPv4, but IPv6 might also be affected, so you might need to disable both.
and this does not work for me because:
We just tested the newest Windows 10 version 1903 and it still does not resolve this issue.
So, for my product I need to be able to send via a simplex mechanism. I am looking at TCP but I cannot see a simplex 'setting'?
Any advice?
ADDITIONAL
So, the reason I want to use simplex is that I am wanting to use a GSM modem attached to my Raspberry Pi to send byte array data to my server. I prefer to use UDP because it does wait for any response from the server as none is given ie info about framing is received.
I have found the GSM modem does like a duplex connection and will always reset its DHCP address rendering the application useless.
So, like I said it all works with the older windows OS but not this new one.
I would still prefer to use UDP. The suggestions in that link does not work.
So, I googled TCP connections - knowing it does not work for my application structure - but wondered if it could be setup as a simplex protocol rather than a duplex protocol thus avoiding the 'handshaking required'.
The Google results produced absolutely nothing in regards to the Simplex method.
So out of absolute desperation because I have no where else to look I pose the question here,
Relying on IP fragmentation in a stateless protocol is not a good choice anyway. Consider sending smaller packets. Packet loss is real, too, especially over wireless connections. So you may want to take that into account. // TCP does not have this problem because it stateful and can ask for retransmission etc. – Daniel B – 2020-01-05T14:53:09.980
How often do you transmit packages to the GSM modem? And what are your requirements that TCP with it's handshake is too slow for you? – Robert – 2020-01-05T14:58:07.527
@Robert sorry for the delay in my response. I send around 1500 bytes every 100ms. It is an imaging tool. Real-time. If I use TCP it will send back a ACK slowing it all down. – Andrew Simpson – 2020-01-05T16:02:39.830
@DanielB yes I agree. At the moment I have 1 client send udp to my server. it works flawlessly and has done for many years. I am sure if I add many more clients it will not? I am attempting to simulate this somehow to see the affects. I am sure there will be some! – Andrew Simpson – 2020-01-05T16:04:55.723