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