The ones at the back are the ERRNO descriptions, which don't apply to 
GETHOSTBYNAME.  

As Don said, the only RETCODE values for GETHOSTBYNAME are 0 and -1.  

===

 
> Date: Fri, 21 Mar 2014 14:49:14 +0000
> From: [email protected]
> Subject: Re: EZASOKET RETCODE
> To: [email protected]
> 
> Don,
> 
> 
> They are in the back of the Communication Server IP Socket Programmer’s 
> manual, I use them all the time.
> 
> 
> Regards,
> 
> Scott
> 
> 
> 
> www.identityforge.com
> 
> 
> 
> 
> 
> From: Don Poitras
> Sent: ‎Friday‎, ‎March‎ ‎21‎, ‎2014 ‎9‎:‎47‎ ‎AM
> To: IBM Mainframe Discussion List
> 
> 
> 
> 
> 
> Dean,
>   First, you'll get a better response if you send your question to the
> listserv rather than the mirrored newsgroup. See the note at the 
> bottom of this email for instructions to do that.
>   Second, this call can only return 0 or -1. Check that you're really
> looking at RETCODE. Also, gethostbyname isn't going to send email, no
> matter what the return code. 
> 
> 
> In article <[email protected]> you wrote:
> > I need help....I'm not fimilar with socket prgramming and can't find these 
> > codes documented anywhere....anything would be aprreciated. This is holding 
> > up a migration to Exchange 2010.
> 
> > Thanks
> 
> 
> > On Wednesday, March 19, 2014 11:37:33 AM UTC-4, [email protected] wrote:
> > > Hi,
> > > 
> > > 
> > > 
> > > On this socket call:
> > > 
> > > 
> > > 
> > > CALL  EZASOKET(SOC_GETHOSTBYNAME,
> > > 
> > >                HNAMELEN,       
> > > 
> > >                HOSTNAME,       
> > > 
> > >                HOSTENT_PTR,    
> > > 
> > >                RETCODE);       
> > > 
> > > 
> > > 
> > > I get a RETCODE=21 or 43 depending on what DNS host is passed to the 
> > > call. I can't find these codes anywhere. The RETCODE=21 is sending an 
> > > email with 'no body', the RETCODE=43 is successful. Can anyone help me 
> > > with these RETCODES?
> > > 
> > > 
> > > 
> > > Thanks,
> > > 
> > > Dean
> 
> -- 
> Don Poitras - SAS Development  -  SAS Institute Inc. - SAS Campus Drive
> [email protected]           (919) 531-5637                Cary, NC 27513
> 
> ----------------------------------------------------------------------

                                          

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to