Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Dave Yeo Newsgroups: comp.os.os2.programmer.porting Subject: Re: SHUT_RDWR Date: Sun, 19 Jun 2011 11:25:20 -0700 Organization: Aioe.org NNTP Server Lines: 18 Message-ID: References: NNTP-Posting-Host: 2NSkGS8ARLT90lB021w2gQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:2.0.2pre) Gecko/20110603 Firefox/4.0.2pre SeaMonkey/2.1.1pre X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.os.os2.programmer.porting:79 KO Myung-Hun wrote: > Hi/2, again. ^^ > > The previous is wrong codes. Sorry. > > Instead, TCP/IP Programming Reference in ToolKit 4.5 says like this. > > ----- > The howto parameter sets the condition for shutting down the connection to > socket s. It can be set to one of the following: > >  0 - no more data can be received on socket s. >  1 - no more output to be allowed on the socket s. >  2 - no more data can be sent or received on socket s. OK, so defining it as 2 is correct. Thanks Dave