OMKAR.P..RATH@EVAX.ARL.UTEXAS.EDU (06/23/89)
To TCP/IP Internetworking Gurus: I am a Master's student at the U of Texas at Arlington. I have a question about "socket programming" under the 4.2 BSD Unix system. You can call me a novice in the field of systems programming at the network level. I browsed thru the different Users Groups and found yours to be the closest thing that could possibly help me. The Query: ---------- I have been assigned the job of implementing the "transport layer" for a particular distributed application. This will constitute a set of processes running on each of the nodes. Needless to say these processes will need to "talk" to each other. However the "talking" occurs only sparingly and rest of the time the processes are busy doing other things of higher importance. What I'm looking for is a "non-blocking" message passing kind of mechanism where the processes can deposit messages into other processes' "mailboxes" and continue on their own. I understand the theory but when it comes to the implementation I'm stuck. Can a process "deposit" a message in another process' "mailbox" while the latter process is say servicing a User input? (Sort of like getting interrupted and coming back.) Question 1: Any suggestions, ideas, references? IPC primitives by way of using sockets seems to be the way to go. I came across a System V manual by AT&T called "Network Programmers Guide" (ISBN # 0-13-940461-9) which explains just the kind of thing that I'm looking for (ref. CH 6). Question 2: We here at the Univ. of Texas @ Arlington have SUN 3/50(60) work- stations running 4.2 BSD. Does any one know of a "Network Programmers Guide" or manual for the 4.2 BSD? Those of you who are into this sort of thing will at once know what I'm talking about. Thanks in advance for your time. Sincerely, Omkar Rath CS_RATH@EVAX.ARL.UTEXAS.EDU Internet Address: 129.107.2.1
dd@ariel.unm.edu (06/25/89)
>I have a question about "socket programming" under the 4.2 BSD Unix system. You might want to consider upgrading your sun to a 4.3-based release of the operating system. The socket programming interface works a whole lot better there... >The Query: >---------- >I have been >[...] >Question 1: Any suggestions, ideas, references? > >IPC primitives by way of using sockets seems to be the way to go. I came >across a System V manual by AT&T called "Network Programmers Guide" >(ISBN # 0-13-940461-9) which explains just the kind of thing that I'm looking >for (ref. CH 6). It does seem that sockets provide the mechanism you are looking for. 4.x BSD systems are probably signifiicantly different than System V systems, though. >Question 2: We here at the Univ. of Texas @ Arlington have SUN 3/50(60) work- >stations running 4.2 BSD. Does any one know of a "Network Programmers >Guide" or manual for the 4.2 BSD? The thing you would be looking for IF you ran 4.3 BSD are the documents PS1:7, and PS1:8 of the Unix Programmers Manual, Supplementary Documents manual set. >Those of you who are into this sort of thing will at once know what I'm >talking about. Thanks in advance for your time. > >Sincerely, > >Omkar Rath >CS_RATH@EVAX.ARL.UTEXAS.EDU >Internet Address: 129.107.2.1 Don Doerner dd@ariel.unm.edu University of New Mexico CIRT 2701 Campus Blvd, NE Albuquerque, NM, 87131 (505) 277-8036