🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lan
Article #1121

bsd networking primitives

#1121
From: Kaare Christian
Date: Wed, 23 Jul 1986 18:35
17 lines
1102 bytes
Following the cookbook in ``4.2BSD IPC Primer'' I have managed to make a
machine-macine connection between two programs.  All things considered it
was easier than I expected, just a mornings work.

Anyway I wondered if anyone could tell me  more about the bind call.
For ipc in the Unix domain it seems that both parties need a bind
following socket creation, but when ipc is in the internet domain only
the server needs a bind.  Why??

Ques 2. When you use the internet domain, but client and server are on
the same machine, does your data go though the loop back connection? Is this
the reason for the loop back connection.

Just thought I'd ask.

Kaare Christian
cmcl2!rna!kc
Technical Details
Message-ID: <523@rna.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!rna!kc

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!rna!kc
From: kc@rna.UUCP (Kaare Christian)
Newsgroups: net.lan
Subject: bsd networking primitives
Message-ID: <523@rna.UUCP>
Date: Wed, 23-Jul-86 14:35:24 EDT
Article-I.D.: rna.523
Posted: Wed Jul 23 14:35:24 1986
Date-Received: Thu, 24-Jul-86 04:48:14 EDT
Organization: Rockefeller Neurobiology
Lines: 17