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 selected article
Showing 1 of 503 articles.
Currently 24 other people reading this forum.


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

Login to reply

👍?
helpful
8:26am Tue 7th May, Christopher M.

ANONYMOUS wrote:
> Hello Sir,
(ask me, or my father?)
> I have started my project implementation using Beej's guide. In the project specification, it states there shouldn't be any reliance on a shared file system or any other inter process communication mechanisms. Beej's guide uses the fork() system call, is this allowed according to the project specifications.
Yes, you may use fork(), provided that the parent and child only communication using socket-based protocols. But I'm encouraging you to seriously ask - why do you need a new heavy-weight process, presumably to do nothing beyond sending a request and waiting for its reply? Most of the time, that new process will simply be blocked, waiting for that single reply.

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