For T18A and W17A students
- Course home page
- Lab timetable and recordings
- Forumn: https://edstem.org/au/courses/7054/discussion/
- Tuesday 18:00 (T18A) lab link: https://unsw.zoom.us/j/82232078296
- Wednesday 17:00 (W17A) lab link: https://unsw.zoom.us/j/85837612940
- Recording: https://youtu.be/BoPMGeGf4LE
- review slides: https://github.com/lrlrlrlr/COMP3331_9331_21T3/blob/main/9331review/slides_final_rev.pdf
- Useful material: https://github.com/lrlrlrlr/COMP3331_9331_21T3/tree/main/9331review/final
- based on the demo code
- server will have a main thread to handle incomming connection from client
- Once a client connected to the server, server will create a subthread/subprocess to handle the TCP connection.
- The Client will also have 3 different thread/process:
- main process - sending message: this process will handle all the user input, and send it to the server/another client.
- subprocess 1 - receiving message: this process will handle all the incoming messages (basically print them)
- subprocess 2 - listening: this process is for P2P connection, it is highly similar to the main thread of server.py. Once a client is connected to it, it will create a subthread/subprocess to handle the TCP connection.
- More detail about P2P - How doessubprocess 2 - listening work?
- it will find an available port and listen to it.
- it will upload the IPAddress/port to the server: to allow other clients to get its address and connect to it.
- it will start to listen (in a while loop), once another client is connected to it, it will create a subthread/subprocess to handle the TCP connection.
- Lab 1 submission deadline: 10:00 Tue 28 Sept
- Recording: https://youtu.be/MLiYH3dYjKs
- Slides: https://github.com/lrlrlrlr/COMP3331_9331_21T3/blob/main/COMP3331_w2%E2%80%94%E2%80%94demo.pdf
- Lab recording: https://youtu.be/A-fddDFtZL0
- Recording clip(Short video):
- Lab recording: https://unsw.zoom.us/rec/share/dHzy7PBQipEmKzXRYq-_Rew7059SwLrP6oD5geD8o-Vpj5sbs0Qvy2a_SoqxWoUd.uSIrVeyY_UMTtjSh
- Passcode: M@5kQWVa
- Midterm Useful info
- w1~w5 review recording: https://youtu.be/1wc6fVItUuE
- review slides: https://github.com/lrlrlrlr/COMP3331_9331_21T3/blob/main/9331review/slides_midterm_rev.pdf
- Lab recording: https://youtu.be/uCRe-hEd_WI
- Lab recording: https://youtu.be/b3lHD9xLBlM
- Lab recording: https://youtu.be/Yrr3pI7H9NY