Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange networking issue possibly regarding Windows 10
08-18-2021, 04:02 PM (This post was last modified: 08-18-2021 04:09 PM by AdamN.)
Post: #21
RE: Strange networking issue possibly regarding Windows 10
Hmm.. after reading this https://stackoverflow.com/questions/3177...erver-recv
It seems there are cases where received source port to be different than the sender port, and it was something todo with port re-mapping done by router or ISP.

Quote:Some further information. Your approach is logical, RTSP is indeed doing similar things. However, that also caused trouble when ISP and your router start doing port re-mapping, for RTSP they have special port arrangement and RTSP-aware NAT is actually watching the TCP communication and special handle those port. But for custom protocol you should do the complicated way.

In this case, i should probably remove the code that checked the source port and always assume it as valid port.
However, if there are games that checked the port too, those games may consider it as invalid port, hopefully there are no games that does this, at most probably only 3rd-party library used by the game who have a possibility to check the port.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/2t3mtdhb0f045cn/PPSSPP_1.11-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/b41bm43mtn1gpnn/PPSSPP_1.11-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Strange networking issue possibly regarding Windows 10 - AdamN - 08-18-2021 04:02 PM

Forum Jump: