Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.moneng.mei.com!hookup!ames!decwrl!pa.dec.com!src.dec.com!crl.dec.com!nntpd.lkg.dec.com!peewee.unx.dec.com!vsp From: vsp@peewee.unx.dec.com (Vipul Patel) Newsgroups: comp.unix.bsd Subject: Help for OOB message on a Streams Socket Date: 4 May 1994 19:08:19 GMT Organization: Digital Equipment Corporation Lines: 27 Message-ID: <2q8rr3$p0v@nntpd.lkg.dec.com> NNTP-Posting-Host: peewee.unx.dec.com X-Newsreader: TIN [version 1.1 PL6] I am trying to write a simple client-server processes in which 1) client accepts a string from a terminal 2) client sends a string to a server via a stream socket 3) server's child reads the string and sends back the same string to the client via a similar socket. 4) client receives a string from a server and prints to the screen. All works fine, accept when I introduce an OOB msg from client to server. 1) When client gets "OOB" string from the screen, it sends MSG_OOB to the server with O character. 2) Server gets the SIGURG signal. However, the recv(...,MSG_OOB) keeps on waiting for that character. I don't want NDELAY option on the socket. Any idea what might be going wrong? thanks in advance. vipul