Path: utzoo!attcan!uunet!husc6!bbn!uwmcsd1!ig!agate!ucbvax!spam.istc.sri.COM!len From: len@spam.istc.sri.COM (Len Schlegel) Newsgroups: comp.protocols.tcp-ip Subject: Synchronous input performance question Message-ID: <8805141910.AA16517@apptek6> Date: 14 May 88 19:10:56 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17 Forgive me if this question is inappropriate for this group. In unix systems it seems that you can block awaiting input on some socket in two ways. Either you use a blocking socket and then read (or block at a select call) and continue when input arrives, or have your socket set so that a SIGIO is generated when input arrives, at which point you do your read (or select) in your signal handler. The blocking can be achieved by using the sigpause call. In the later case, the socket can be non-blocking. The question is are there performance implications in using one approach over the other. Thanks, Len Schlegel len@spam.istc.sri.com