Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
How do I ask a good question?
Displaying selected article
Showing 1 of 503 articles.
Currently 40 other people reading this forum.
Hello,
I'm doing the C implementation of the project in WSL2, and I'm up to the part where the stations start communicating between different computers. I have a desktop computer and a laptop, both at home on the same router.
I'm having an issue where the laptop's packets won't go through. Weirdly, packets can make a round trip when going desktop->laptop->desktop (e.g. a query starts at a desktop station, which then tries to ask a laptop station for information), but the packets won't go laptop->desktop when a query starts at the laptop.
Also, the packets from the desktop are on a different port to what I expect. For example, if a desktop station has the port 4001 and sends something to a laptop station, I would expect that the laptop station receives a message from the desktop's IP with port 4001. Instead, it receives messages from a random port that no other station owns.
How do I get this working? I've searched online, but there seems to be so many things that might be happening and I don't know where to start. I tried disabling the firewall on both computers, but that didn't change anything. Maybe someone else has the same problem and has a solution?
Thanks