Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: utzoo!utcsrgv!randy From: randy@utcsrgv.UUCP (Randall S. Becker) Newsgroups: net.unix-wizards,net.wanted Subject: Help wanted with 4.2BSD sockets Message-ID: <4356@utcsrgv.UUCP> Date: Sun, 20-May-84 12:03:14 EDT Article-I.D.: utcsrgv.4356 Posted: Sun May 20 12:03:14 1984 Date-Received: Sun, 20-May-84 12:16:50 EDT Organization: CSRG, University of Toronto Lines: 24 I am trying to figure out how to use the IPC facility on 4.2BSD. Does anyone out there have a sample program which actually runs? I have read the man entries and online ipc documentation (which is [I think] usually included in 4.2BSD distribution). My main problem is that `accept' is not blocking my server. The documentation states that normally it should block unless told otherwise. It does not mention (at least I have not noticed) the technique for configuring or reconfiguring a socket for either blocking of non-blocking mode. I gather that this is done via `setsockopt' ; but the documentation is severely poor for that routine. Any help would be appreciated. By the way, I am not overly concerned with net-sockets; just simple local client/server sockets. Thanks in advance, -- Randall S. Becker Usenet: {dalcs,dciem,garfield,musocs,qucis,sask,titan, trigraph,ubc-vision,utzoo,watmath,allegra,cornell, decvax,decwrl,ihnp4,uw-beaver}!utcsrgv!randy CSNET: randy@Toronto ARPA: randy%Toronto@CSNet-Relay