yep implemented the nat symmetry issue but wrongly implemented :) implemented wiht an idiotic error.
would try to fix now. but i think i did this error becauses i test on same computer. and had totally forgotten it would be not like that normally. (normally ip of client and server is same and so but still even with that my initial asymmetric nat fix were completely erronous since sent from server port to server ip stupidly again as if its not symmetric nat version :)
hmm turns out maybe i might need to deploy a turn server to GKE also thinking. and reimplement some more webrtc native library methods.
but lets think more. and I should read more about symmetric nat and how turn server works to see if there is any chance to implement it at client side which does not seem the case i think.
hmm i figured out how to.
so but would require that e.g. server ip would not be defined in session mechanism as before, but would communicated to the client since every client would connect to different public router ip in symmetric nat situation. same for just a secnod there is an issue
hmm turned out its near to impossible in symmetric nat.
so i think i would provide the software with hmm 3 configuration options ->
Lan game (where internal ip is used of lan )
cone NAT router available -> then this option when is selected then would use the notsymmetric port mapping feature of router (NAT) and so. (since my router is not alike this option, would test on such vm platform which has this type router support)
manual portforwarding or uPnP port forwarding available router option -> then user would need to input forwarded port to software in such option where either manually or with upnp like tools, port forwards.
-----------------
so i think now that the issues are resolved.
hmm i think as i had read notsymmetric version of port mapping feature of such routers, i understood that the modification i did today were required indeed for cone nat port mapping (where both the keep alive and both normal server requests etc are routed from same source ip port ) so but i cant test if it works on my pc but need to test on a gaming vm environment with cone router type avail.
for lan i would need to edit tables (since public ip of router would be automatically gathered by software (as it is already) and would then hmm still use tables of py and nodejs but hmm would be filtered to single public ip when retrieving or creating games alike ) hmm then otherwise also the local computer ip would be used in server ip binding or client random ip binding.
for manual port forwarding option, hmm in that, user would need to enter the port of game server and so.
hmm so i think so there would be alike 3 configuration methods alike.so we need to add such setting to configure either one of 3 options.
hmm since the conundrums of this task are worked to be less conundrum (I mean there is not some task that requires some alot hours effort studying to do check feasibility of whether eg. it worked on router type alike checks) . i think now i could resume part time study schedule.
I think i would first test the option of hmm cone nat where user does not need to do any port forwarding etc. and would need to test it on a vm platform that has cone nat type router nat.
first would create release version of dll/libs to then so that i dont have to install debug version of visual studio runtime which inherently release version gets installed to computer. but maybe i would install since maybe i might need to continue issue fix there also. yep.
gosh how much harder can it be to develop a c++ plugin for a game engine :S i before edited game engines but not this type plugin task. now i need to do maybe do debug on a remote vm :S so i need to install visual studio there also. how harder it could be to develop a game engine plugin :S never expected this to be this much challenging but yep.
i dont understand why they hadnt made upnp a default protocol for routers. :S its very hard indeed to do configure these network stuff for game plugin developer side :S
gosh for a while coding scala py i forgot how c++ coding were. its quite a challenging coding type which makes feel as if c++ coding is the hardest and most real coding type and all scala py were like hmm not coding any like.
although i hadnt coded with coding styles nor any perfect/neat. (but necessary enough good there is memory leaks but there wont be issues of that since there is one or two memory leak at most for 2 instances of data structs and thats not significant. )
its like i refelt as a computer engineer during this project. after for a while did knowledge engineer/data engineer/ml engineer jobs and data engineer in commercial companies and remaining in ml algos project, I forgot how it were to be actually a computer engineer. when you code c++ and you look to the scala adventure you worked to scala, it seems as complexity of c++ coding side is much more compared to any scala side project. not that in software engineering wise this means any better. but it makes one feel like as if c++ is the actual computer engineering thingy (harder computer engineering thingy that we were used to before all these programming languages came up like scala/py)
but i dont claim scala is any less better than c++/ what i mean is when you code wiht c++ you write more complex code due to language and libraries in c++ and that that is what really makes one relive being a computer engineering mode . of more complex logic flows alike exists in c++. i mean i relived the computer engineering thingy when coding c++. its much harder than any py or scala coding side (since scala's coding patterns library patterns etc are much less complex compared to libraries of c++ most of the time ) . same for py. its like when you code in scala /py, you dont live the actual nostalgic computer engineering experience. actual nostalgic computer engineering experience is much more complex logic flows etc with traditional computer languages. scala/py patterns aree simplified compared to earlier traditional languages imho.
data engineering coding complexity is uncomparably lesser compared to c++ alike based coding stuff. the challenges there and there in c++ made me go back to nostalgic computer engineering experience. whilst in commercial career life i did data engineering for half a decade.
there is still lots of tasks to do. but i would now stop studying to this project as of today and start part time study of banach tarski idea frameworkization study.
Yorumlar
Yorum Gönder