Difference between revisions of "Socketpair"
From Hackepedia
Jump to navigationJump to search(No difference)
|
Latest revision as of 15:28, 3 December 2005
A socketpair is a form of IPC. It creates a bi-directional channel where data can be sent through from either end. This is different from pipes which are uni-directional. The most common use for a socketpair is where a parent sets it up, then forks and is able to enjoy IPC between the parent and the child. Unassociated processes probably cannot make use of a socketpair.