hi to all,
I need to make two ececutable in my project.
Or in alternative, to execute a form like a separate process.
Is it possible?
--
View this message in context:
http://www.nabble.com/one-project%2C-two-executable.-How-to--tp24364405p24364405.html
Sent from the gambas-user mailing list a
operation is into a
socket_read sub.
Then the GUI freeze.
I think the solution is a separate process.
I would like to use gb.web for it, but I have no idea how to use it in my
own "mini-server".
Best regards and thank you in advance.
guiodic wrote:
>
>
>
> Benoît Min
Benoît Minisini wrote:
>
> It depends on what you will do with your CGI script.
>
my CGI must save the file that browser send via the form.
--
View this message in context:
http://www.nabble.com/Using-gb.web-in-my-own-gambas-web-server-tp24266408p24269830.html
Sent from the gambas-user ma
Benoît Minisini wrote:
>
> As stated in the documentation, gb.web allows you to implement *CGI*
> scripts,
> i.e. executables that are run by the HTTP server and that return the HTTP
> response on their standard output stream.
>
> Regards,
>
> --
> Benoît
>
>
>
yes, of course. So, the
Hi Benoit, hi to all.
You kwon I'm the author of BaShare, a simple web server with a GUI useful in
file sharing.
I'm trying to implement file reception in BaShare from a web form like this:
So it was very useful if was possible to use gb.web in my application. I
tryed this:
PUBLIC SUB Soc
oh, the link was missed :)
http://code.google.com/p/bashare/
--
View this message in context:
http://www.nabble.com/BaShare-0.4.2-tp23817482p23817497.html
Sent from the gambas-user mailing list archive at Nabble.com.
BaShare (Basic Share) is a very simply and user-friendly file sharing tool
over the Internet and private LAN too.
Basically BaShare is a http server with a graphical user interface (GUI).
Select a file, give the link to your friends and they will be able to
download the file from you speedily (or
Ron_1st wrote:
>
> No, this is not correct.
>
> My internet connection is 20Mbits (20/8 = 2500 KByte/second)
> When I write 1Kb (8kbit) it goes with 20Mbs speed on the wire.
>
> Using packets of 1 KByte every second is a transfer rate (bandidth)
> The average is then the wished 1 Kbits using
Ok, this is the test:
code:
tempo = Timer()
WRITE #LAST, b, Len(b)
WAIT pausa
tempo = Timer() - tempo ' tempo di esecuzione della WRITE in s
PRINT tempo
where: pausa= 1/5 s = 0.20 then max transer rate is 5 kb/s
wget wget --limit-rate=1k
This is (part of) the output:
0,2031
0,200164
guiodic wrote:
>
>
>
> guiodic wrote:
>>
>> This is the solution, I think.
>>
>
> Damn, It doesn't work.
>
> I have modified the code: I put print timer() before and after the WRITE:
>
> PRINT Timer()
> WRITE #LAST, b, Len(b)
&
guiodic wrote:
>
> This is the solution, I think.
>
Damn, It doesn't work.
I have modified the code: I put print timer() before and after the WRITE:
PRINT Timer()
WRITE #LAST, b, Len(b)
WAIT pausa
PRINT Timer()
with pause=0.5 (=2kb/s) and wget set for 1 kb/s
well, this
Benoît Minisini wrote:
>
>> Benoît Minisini wrote:
>> > But you can enhance your code by fixing your "WAIT pause" instruction.
>> >
>> > If WRITE blocks, then you must take its execution time into account,
>> and
>> > lower
>> > the pause accordingly.
>> >
>> > Regards,
>> >
>> > --
>> > Benoît
Benoît Minisini wrote:
>
> But you can enhance your code by fixing your "WAIT pause" instruction.
>
> If WRITE blocks, then you must take its execution time into account, and
> lower
> the pause accordingly.
>
> Regards,
>
> --
> Benoît
>
>
oh. yes!
I can measure the WRITE exec
Benoît Minisini wrote:
>
> I'm afraid I won't be able to fix that for Gambas 2.x.
>
> Regards,
>
> --
> Benoît
>
>
>
:(
Well, thank you.
--
View this message in context:
http://www.nabble.com/server-socket-problem-tp23697722p23698223.html
Sent from the gambas-user mailing list archi
Benoît Minisini wrote:
>
> The WRITE instruction will block your program if the internal socket
> buffer is
> full because the reader is not fast enough to get it.
>
Thank you Benoit.
But, how can to workaround this?
--
View this message in context:
http://www.nabble.com/server-socket-pr
15 matches
Mail list logo