I have a similar problem. I have a project that uses 'socket' as listed in the Library Tab of the Project Manager. Yet I get the same error and <sdgethostbyname> is unavailable. If I insert manually the coinsert statement in the session and in one of the scripts it works. Why doesn't the PM take care of that automatically? What other cases must be accounted for?
BTW this was working fine in 5.01 --- On Sat, 7/12/08, Fred Bone <[EMAIL PROTECTED]> wrote: > From: Fred Bone <[EMAIL PROTECTED]> > Subject: Re: [Jprogramming] Sockets and internet question > To: "Programming forum" <[email protected]> > Date: Saturday, July 12, 2008, 5:32 PM > On 12 July 2008 at 15:23, Brian Schott said: > > > The context of this problem is described in the > > forwarded message far below. I am attempting to read > the > > archive files using a coding model suggested in the > Sockets > > and internet Lab, but I am running into the following > value > > error which seems to occur in the verb > "conn" in the script > > > 'system\examples\socket\socklab.ijs' : > > > > ***************begin typical J > session****************** > > load '/Users/brian/readjdata.ijs' > > readdata yearmonth 5 3 15 > > |value error: sdgethostbyname > > | 0~:s=.>{.x=. sdgethostbyname host > > ***************end typical J session****************** > > > > My script "readjdata.ijs" is as follows. > > > > ***************begin script****************** > > NB. readjdata.ijs > > NB. 7/11/8 > > > > load'socket' > > coinsert'socket' > > Should this be > coinsert'jsocket' > ? > > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
