It's UWAweek 47

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

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 the 4 articles in this topic
Showing 4 of 503 articles.
Currently 43 other people reading this forum.


 UWA week 19 (1st semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
12:25pm Fri 10th May, ANONYMOUS

My current implementation blocks new udp connections while waiting for acknowledgements from neighbouring hosts to come back for a specific frame. this will slow down response time, will this get marked down?


SVG not supported

Login to reply

👍?
helpful
12:49pm Fri 10th May, Daniel J.

Further to this question, are we permitted to use Python's asyncio module to prevent thread blocking when handling network communication?


SVG not supported

Login to reply

👍?
helpful
4:26pm Fri 10th May, Christopher M.

ANONYMOUS wrote:
> My current implementation blocks new udp connections while waiting for acknowledgements from neighbouring hosts to come back for a specific frame. this will slow down response time, will this get marked down?
There's no emphasis on speed or great efficiency in this project, but I'm surprised to read that you're using UDP datagrams in a connected manner (guessing you're using send() rather than sendto() ). I've found it much easier to both send and receive datagrams using the same (not-connected) socket, and use the sender's address (given by recvfrom()) to determine which neighbour sent it.


SVG not supported

Login to reply

👍?
helpful
4:28pm Fri 10th May, Christopher M.

"Daniel Jennings" <23*6*9*6@s*u*e*t*u*a*e*u*a*> wrote:
> Further to this question, are we permitted to use Python's asyncio module to prevent thread blocking when handling network communication?
Yes, it's a standard Python module but, as I mentioned a few time in other questions, I worry that your design/model is more complicated than it needs to be.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy