I ran the following script it retrieved a file from jsoftware
website, please test if it can also work.

NB. =============
cocurrent 'base'
load 'socket'
coinsert 'jsocket'

wget=: 3 : 0
sk=. 1{:: sdsocket''
sdconnect sk;PF_INET;'23.21.67.48';80
head sdsend sk;0
z=. sdrecv sk,1000
smoutput 1{::z
)

head=: 0 : 0
GET /download/testsock.txt HTTP/1.0

)

wget''
NB. =============

Вт, 24 сен 2013, bob therriault писал(а):
> On my non jail broken 3gs I get 0;15
> 
> On the 3gs I am running iOS 5.1.1   :)
> 
> Cheers, bob
> 
> On 2013-09-23, at 11:25 PM, Joey K Tuttle wrote:
> 
> > On my iPad2 (not jb) it works and returns 0;18
> > 
> > I get the same result in my not jb iPhone4, i.e. 0;18
> > 
> > Both are running iOS7
> > 
> > 
> > On 2013/09/23 22:24 , bill lam wrote:
> >> socket seems work in my jb iphone 3gs with the following test
> >> script. Can anyone confirm if it will work in a non-jb devices?
> >> 
> >> cocurrent 'base'
> >> load'socket'
> >> coinsert 'jsocket'
> >> smoutput k=: sdsocket''
> >> 
> >> if it returns a box like 0;17 then socket probably works.
> >> Using pacman should be feasible if socket is supported.
> >> 
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to