1
Network / Re: TcpSocket connect on Android does not behave correctly
« on: June 03, 2024, 10:27:20 pm »
My setup is fairly simple:
- My Anroid tablet using the c++ compiler app CxxDroid running the above code with SFML-2.5.1 preinstalled (no setup at all apart from installing the app)
- My Windows PC using a basic set up Visual Studio 2022 project with SFML-2.6.1 linked, etc., running the exact same (already mentioned) code
Should I go more into detail about my PC setup? Because everything works there. It is just Android that's wierd and I just have it as a reference .
Yeah I know about NAT loopback, which is why I connect my tablet to a hotspot from my phone and try to connect to my home routers Ip (so there should be two different networks in play here).
I will have a look at wireshark again, but I am wondering (also regarding NAT loopback), if it even makes sense to check those. I mean better safe than sorry but is there something about the Tcp connect method that is so different from all the other networking stuff to not be working because of these? Asking since nothing else has problems and isn't the TcpSocket with its connect() method using the same stuff the other networking features use? (I know what TCP is and what it does. I hope you get my point.)
Again thanks for helping me here!
(Offtopic: And while already talking to one, if not *the* head of SFML: I love what you all have built here. SFML is such a great library, thanks for developing and taking care of it! I hope I someday will be able to contribute something and help .)
- My Anroid tablet using the c++ compiler app CxxDroid running the above code with SFML-2.5.1 preinstalled (no setup at all apart from installing the app)
- My Windows PC using a basic set up Visual Studio 2022 project with SFML-2.6.1 linked, etc., running the exact same (already mentioned) code
Should I go more into detail about my PC setup? Because everything works there. It is just Android that's wierd and I just have it as a reference .
Yeah I know about NAT loopback, which is why I connect my tablet to a hotspot from my phone and try to connect to my home routers Ip (so there should be two different networks in play here).
I will have a look at wireshark again, but I am wondering (also regarding NAT loopback), if it even makes sense to check those. I mean better safe than sorry but is there something about the Tcp connect method that is so different from all the other networking stuff to not be working because of these? Asking since nothing else has problems and isn't the TcpSocket with its connect() method using the same stuff the other networking features use? (I know what TCP is and what it does. I hope you get my point.)
Again thanks for helping me here!
(Offtopic: And while already talking to one, if not *the* head of SFML: I love what you all have built here. SFML is such a great library, thanks for developing and taking care of it! I hope I someday will be able to contribute something and help .)