[Ql-Users] Any working examples... ?

2009-11-04 Thread Gerhard Plavec

WHAOOW that's a precise answer :)

Can you or someone else do the same with some S*BASIC lines reading a 
file down the TCP/IP stack or connection ?

Something like :

COPY TCP_www.kilgus.net TO ram1_some_file_from_internet

because with what is written in the manual of QPC2v3

--xSchnipp
From version 3.30 on QPC possesses TCP/IP capabilities in form of the 
TCP, UDP and SCK devices. For this
it relies on the Windows TCP/IP stack, so if applications like the 
Internet Explorer can access the net QPC can

do it, too.
This manual won't go into the details of the interface, however, as the 
interface is mostly compatible to the

uQLx implementation all documentation for that is also valid for QPC.
--xSchnapp

I can do nothing !
Perhaps someone can make a copy/paste of the part of doc of uQLx 
explaining this point

Or at least give me a link where I can find the uQLx doc

Thamk you
Gerhard

---

Marcel Kilgus schrieb:

Martyn Hill wrote:
  

Could anyone using the really useful Qascade care to share their
qascade_rc config files here?



# Example menu for Qasqade
# These entries are the main menu

#JUMP
#   0123456789ab
COLSrbrgywbgbwbw
TITLE   Make
TITLE   Misc
ETHGQD  QD  \Dwin1_smsq_qpc_
SEP Things
EXECTestwin1_test_obj
ETHGJobsJobs
ETHGKanäle  Kanäle
ETHGLjobLjob
ETHGHotkeys;Hotkeys
ETHGThings  Things
ETHGSysdef  Sysdef
ETHGDateien win1_   Dateien \Iwin1_
ETHGDateien dos1_   Dateien \Idos1_
ETHGQD  QD
SEP SBasic
SBASBig dev1_big_bas
SEP Stuff
ETHGRC file QD  win1_system_qascade_rc

MENUMisc
SBASSearch  dev1_search_bas
EXECFIFIfifi
EXECWINED   wined
EXECACP acp_obj
MEND

MENUMake
SBASQPC win1_smsq_qpc_make_bas
SBASSMSQwin1_smsq_smsq_make_bas
SBASSMSQE_BIN   dev1_makesms_bas
EXECSysSprites  qmake   \c win1_src_var_syssprites_ \b
SBASDISAdev1_makedisa_bas
MEND

Marcel

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

  


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Any working examples... ?

2009-11-04 Thread Marcel Kilgus
Gerhard Plavec wrote:
 Can you or someone else do the same with some S*BASIC lines reading a
 file down the TCP/IP stack or connection ?
 Something like :

 COPY TCP_www.kilgus.net TO ram1_some_file_from_internet

Unfortunately it's not as simple as that. In order to get a page from
an HTTP server, you have to speak the HTTP protocol. You want more
something like that:

100 OPEN_IN#3,tcp_www.qltoday.com:80
110 PRINT#3,GET / HTTP/1.1
120 PRINT#3,User-Agent: QPC browser
130 PRINT#3,Accept: */*
140 PRINT#3,host: qltoday.com
150 PRINT#3
160 REPeat
170   INPUT#3,a$:PRINT a$
180 END REPeat

(Took out of my own mail to ql-users 3 years ago. I don't have more
like that either)

 Perhaps someone can make a copy/paste of the part of doc of uQLx
 explaining this point
 Or at least give me a link where I can find the uQLx doc

The official uQLx docu seems to have gone the way of the Dodo. I put
up a mirror copy on

http://www.kilgus.net/qpc/socket_toc.html

Marcel

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Any working examples... ?

2009-11-04 Thread Gerhard Plavec

Waow once more :)

I am very sorry missing your eMail 3 years ago :)
It is really working - not perfect... but a good entry point - why 
didn't you print this example in your manual ?
Any way... it shows that internet is much much more complicated as it 
seams :-(   browsers are very hard workers :))


Thank you for the doc (mirrored), I learned a lot today :)

Gerhard

---

Marcel Kilgus schrieb:

Gerhard Plavec wrote:
  

Can you or someone else do the same with some S*BASIC lines reading a
file down the TCP/IP stack or connection ?
Something like :

COPY TCP_www.kilgus.net TO ram1_some_file_from_internet



Unfortunately it's not as simple as that. In order to get a page from
an HTTP server, you have to speak the HTTP protocol. You want more
something like that:

100 OPEN_IN#3,tcp_www.qltoday.com:80
110 PRINT#3,GET / HTTP/1.1
120 PRINT#3,User-Agent: QPC browser
130 PRINT#3,Accept: */*
140 PRINT#3,host: qltoday.com
150 PRINT#3
160 REPeat
170   INPUT#3,a$:PRINT a$
180 END REPeat

(Took out of my own mail to ql-users 3 years ago. I don't have more
like that either)

  

Perhaps someone can make a copy/paste of the part of doc of uQLx
explaining this point
Or at least give me a link where I can find the uQLx doc



The official uQLx docu seems to have gone the way of the Dodo. I put
up a mirror copy on

http://www.kilgus.net/qpc/socket_toc.html

Marcel

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

  


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm