Return to BSD News archive
Xref: sserve comp.unix.programmer:23018 comp.unix.bsd:15956 Newsgroups: comp.unix.programmer,comp.unix.bsd Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!caen!hearst.acc.Virginia.EDU!murdoch!uvacs.cs.Virginia.EDU!act9m From: act9m@uvacs.cs.Virginia.EDU (Alan Chih-Chang Tai) Subject: Datagram Sockets and Signals Message-ID: <D2uA2E.16u@murdoch.acc.Virginia.EDU> Originator: act9m@viper.cs.Virginia.EDU Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Computer Science Department Date: Mon, 23 Jan 1995 03:37:25 GMT Lines: 13 I'm having problems getting my UDP sockets and Irix interval timer to coexist. My timer causes a SIGALRM, which dumps control to a short timer handler every couple of seconds. Now, my BSD socket calls recvfrom and sendto are constantly interrupted. I can eventually receive a packet by detecting the error return value from recvfrom and retrying. With sendto, I end up retrying forever :-(. I would rather not switch to TCP, but it looks like I might have to go that route. Does anyone have any suggestions? Thanks. -- Alan Tai (act9m@virginia.edu) | Computer Science Dept | Computer Networks Lab Graduate Teaching Assistant | University of Virginia |