Once I built a web server in Rev... for a while, I tried testing it by
building a client also in Rev. Now, when everything is running at the same
time inside Rev IDE, things can get messy...
On Thu, Sep 2, 2010 at 7:03 PM, Monte Goulding
wrote:
> LOL, just a bug in my code mate. Was closing lin
LOL, just a bug in my code mate. Was closing line 1 of the opensockets which
was fine when the licensing stuff was happening in a separate process but not
when I put it back in the main app ;-)
On 03/09/2010, at 12:45 AM, Andre Garzia wrote:
> Monte,
>
> can you detail how you solved this for
Monte,
can you detail how you solved this for future mail list search abilities!
:D
On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding
wrote:
> ah... scratch that, nothing to see here
>
> On 02/09/2010, at 5:14 PM, Monte Goulding wrote:
>
> > Hi
> >
> > I have an app that accepts connections on a s
ah... scratch that, nothing to see here
On 02/09/2010, at 5:14 PM, Monte Goulding wrote:
> Hi
>
> I have an app that accepts connections on a socket to sync to an iOS version.
>
> post to url works before and after:
> accept connections on port lPort with message "newConnection" -- lPort is
>
On 5/6/10 12:28 PM, "Bob Sneidar" wrote:
> Shouldn't you put it AFTER fld "f1" if you are tracing it?
That's the reason every read I put into another fld., and also to see what
read returns what. As I saw that the second write repeated the same as the
first.
>
> Bob
>
>
> On May 5, 2010, at
Shouldn't you put it AFTER fld "f1" if you are tracing it?
Bob
On May 5, 2010, at 3:19 PM, Hershel Fisch wrote:
> Hi, I checked it out,
> I did realize that there are 2 ports being used 1 form client to server and
> 1 from server to client. Though I don't know how to make use of it in my
> case
Hi, I checked it out,
I did realize that there are 2 ports being used 1 form client to server and
1 from server to client. Though I don't know how to make use of it in my
case.
Also I think there is a typo in tnhe example script (sSocket instead of
pSocket) or something doesn't work properly.
I di
Thanks, I'll check it out.
Hershel
On 4/28/10 9:04 AM, "Trevor DeVore" wrote:
> On Apr 27, 2010, at 4:23 PM, Hershel Fisch wrote:
>
>> Hi, could any help me out with a full socket session ? Please!
>
> Perhaps this lesson will help:
>
> http://lessons.runrev.com/spaces/lessons/buckets/784/le
d/close-socket
>
> for what purpose you need socket session?
>
> Regards,
> SHANI
>
> -Original Message-
> From: use-revolution-boun...@lists.runrev.com
> [mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Sarah Reichelt
> Sent: Wednesday, April 2
On Apr 27, 2010, at 4:23 PM, Hershel Fisch wrote:
Hi, could any help me out with a full socket session ? Please!
Perhaps this lesson will help:
http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/12924-How-to-communicate-with-other-applications-using-sockets
--
Trevor DeVore
Blue Ma
-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Sarah Reichelt
Sent: Wednesday, April 28, 2010 12:59 AM
To: How to use Revolution
Subject: Re: Sockets
On Wed, Apr 28, 2010 at 6:23 AM, Hershel Fisch wrote:
> Hi, could any help me out with a full socket sess
On Wed, Apr 28, 2010 at 6:23 AM, Hershel Fisch wrote:
> Hi, could any help me out with a full socket session ? Please!
Check out either of my email libraries:
http://www.troz.net/rev/stacks/POP_library_demo.rev
http://www.troz.net/rev/stacks/SMTP_library_demo.rev
They both use sockets to communi
On 13 Dec 2005, at 01:40, Jim Hurley wrote:
Like Graham, I too would like to thank Alex and Dave for their
detailed discussion of sockets.
I tried Dave's small handler and it worked well, but only once. I
went into the script to insert a break point so that I could step
through it to se
Like Graham, I too would like to thank Alex and Dave for their
detailed discussion of sockets.
I tried Dave's small handler and it worked well, but only once. I
went into the script to insert a break point so that I could step
through it to see how it works, but it wouldn't work a second time
This is just a quick 'thank you' to Alex Tweedly and Dave Cragg for
their very educational mails. I will experiment shortly and get back
to the list when (not if) I get into a muddle.
Graham
---
Graham Samuel / The L
This time I'll try to be more helpful.
On 11 Dec 2005, at 21:34, Graham Samuel wrote:
Sockets, do we need them
If you just need to connect to internet URLs, you can use the get
URL, load URL, etc, calls, and not have to know anything about
sockets. But if you want to do something more fan
BvG,
Also, to become a member of the House Of The Sockets And Ports, one
should learn the
write to socket
read from socket
commands. I'll publish a little draft today on sockets. The Socket
Society meets on ChatRev... :-p
cheers
andre
On Dec 11, 2005, at 2:49 PM, Björnke von Gierke wro
Graham Samuel wrote:
I can't answer the question but I would very much like to be around
when it is answered. When I was younger (**much** younger), I used to
kind of absorb technical stuff without consciously learning about it,
but nowadays stuff suddenly comes up and bites me in the rea
On Sun, 11 Dec 2005 08:32:55 -0800, Jim Hurley
<[EMAIL PROTECTED]> wrote:
Now all I need to do is find out was a socket is. I know it must have
something to do with light bulbs.
Searched the dictionary for "socket" and came up with the single
"Using URLs, uploading, and downloading", 18 pages
On 11 Dec 2005, at 16:49, Björnke von Gierke wrote:
Of course there is a secret Socket society! But it's easy to join:
Our required readings are:
Open Socket command
Close Socket command
Accept command
If these don't help you, then you need to ask either on the use
list or in chatrev :)
Björnke-
Sunday, December 11, 2005, 8:49:42 AM, you wrote:
> Of course there is a secret Socket society! But it's easy to join:
> Our required readings are:
> Open Socket command
> Close Socket command
> Accept command
You got off easy. I had to stay after school and read
write to socket
read
On Dec 11 2005, at 17:32, Jim Hurley wrote:
...
Searched the dictionary for "socket" and came up with the single
"Using URLs, uploading, and downloading", 18 pages (copied to Word)
which don't appear to contain the word "socket."
Is there a secret RR society which is privy to this sort of
On Feb 12, 2005, at 8:36 AM, John Rule wrote:
Maybe the problem is in doing broadcast messages in general on
Windows
(this same code works fine on OSX...Linux is another issue
altogether). It
doesn't work consistently (I do not always get the callback to my
'with'
message, the average is 6 out
o:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 10:35 PM
To: 'use-revolution@lists.runrev.com'
Subject: Re: sockets and Windows behavior
Thank you for the detailed responses everyone!
To make my task even more difficult, I was trying to do a UDP broadcast, and
accept a variable number
Thank you for the detailed responses everyone!
To make my task even more difficult, I was trying to do a UDP broadcast, and
accept a variable number of responses (unspecified number of devices).
What became confusing was 'when' to parse the data parameter and when to use
the 'with function' call.
Dar Scott wrote:
UDP is connectionless, but is often handled as though it is a
connection in sockets implementations and especially the view in
Revolution. The same concepts apply roughly. (UDP is sort of a
stepchild so folks don't worry about getting it right. Windows XP
handles UDP errors
On Feb 11, 2005, at 10:48 AM, John Rule wrote:
I noticed that when a socket (regular or datagram) is opened to
Windows
(via my app that is listening on port 1901), an 'alias' port is given
instead of the 'real' one. For example, if my external device
(computer,
PDA, etc.) connects to socket 192.
On Fri, 11 Feb 2005 15:56:33 -0200, Andre Garzia <[EMAIL PROTECTED]>
wrote:
[...]
PS: hum... I think a little network foundations primer would be good...
shall we write one?
If you do, I'd like to be your first customer! I could not even
reliably describe what a socket is (not really even wha
On Feb 11, 2005, at 3:48 PM, John Rule wrote:
Maybe someone can explain this...
I noticed that when a socket (regular or datagram) is opened to
Windows
(via my app that is listening on port 1901), an 'alias' port is given
instead of the 'real' one. For example, if my external device
(computer,
P
Hi Scott
Thanks
The example I ended up with is
http://balance-infosystems.com/applications/tcpcommander/TCPCommanderStack002.rev
I successfully got a list of myob contacts from an middleware application
server written in REALbasic to access a MYOB datafile via ADODB via an MS
access database!
Con
I've uploaded my networking library to revOnline. It is under the
user xslaugh. I have also uploaded a front end stack, which
demonstrates the use of the library. This front end contains some
help, and the library has some comments in the script.
This library currently uses datagram sockets
Hi Björnke
Thanks for your online support.
Got it working,
Thanks
Keith Hutchison
Balance-Infosystems.Com
postgresql - mysql - dbf
Foxpro - Delphi - MS Access - REALbasic
http://balance-infosytems.com http://realopen.org
___
use-revolution mailing li
Hi Troy
Thanks for your help.
Got it working.
Keith Hutchison
Balance-Infosystems.Com
postgresql - mysql - dbf
Foxpro - Delphi - MS Access - REALbasic
http://balance-infosytems.com http://realopen.org
___
use-revolution mailing list
[EMAIL PROTECTED]
Keith,
Not sure if you've already answered this, but I've a couple of comments
for you.
If the server is a webserver, then you can use libURL to access it w/out
having to mess around with opening and closing sockets.
Just use:
put URL "http://www.myserver.com/fred.mydocformat"; into fld 1
and c
On Aug 27, 2004, at 6:47 PM, Keith Hutchison wrote:
Read and write.
Concept is send in a command via tcpip to a server, process the
results on
the Runtime Revolution built client.
Well then, in your description you are -
opening the socket
once open, writing to the socket
once written, closing the
ok try this modification, there seems to be a problem with the open
socket command... maybe the socket is already open? the result will
contain the error information.
on mouseUp
open socket "192.168.100.63:4563" with message "socketOpen"
if the result <> "" then put the result
end mouseUp
if
Hi Troy
Read and write.
Concept is send in a command via tcpip to a server, process the results on
the Runtime Revolution built client.
Keith Hutchison
Balance-Infosystems.Com
postgresql - mysql - dbf
Foxpro - Delphi - MS Access - REALbasic
http://balance-infosytems.com http://realopen.org
___
On Aug 27, 2004, at 6:27 PM, Keith Hutchison wrote:
Any further ideas?
Well, are you expecting to "read" something from the socket, or just
write to it?
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
h
Hi Björnke
Here is the code I have based on your example.
I have breakpoints on each event, however only the first event, mouseup
stops in the debugger.
on mouseUp
open socket "192.168.100.63:4563" with message "socketOpen"
end mouseUp
on socketOpen theIP
write "Hello" to socket theIP
Hi Troy
> No. There is a lot wrong with it, to be blunt. ;-)
Excellent!! ( Had to start somewhere :-) )
> The first line would probably look like -
> open socket to "127.0.0.1:4563" with message "MYOBContacts"
>
> But - "MYOBContacts" would be a handler in your scripts which the
> socket connec
...
set TheResult to open socket "127.0.0.1:4563" with message
"MYOBContacts"
set the contents of ResultField to TheResult
...
blocking:
on mouseUp
open Socket "127.0.0.1:4563"
write "MYOBContacts" to socket "127.0.0.1:4563"
close socket "127.0.0.1:4563"
end mouseUp
nonblocking:
on mouseUp
On Aug 27, 2004, at 5:35 PM, Keith Hutchison wrote:
Does the following code look correct?
set TheResult to open socket "127.0.0.1:4563" with message
"MYOBContacts"
set the contents of ResultField to TheResult
No. There is a lot wrong with it, to be blunt. ;-)
The first line would probably look li
Does the following code look correct?
set TheResult to open socket "127.0.0.1:4563" with message "MYOBContacts"
set the contents of ResultField to TheResult
Keith Hutchison
Balance-Infosystems.Com
postgresql - mysql - dbf
Foxpro - Delphi - MS Access - REALbasic
http://balance-infosytems.com htt
Hi Scott,
> I have a stack that I have made that provides a library for working
> with sockets in Revolution, as well as a front end for the library.
> I'll upload it to revOnline tonight, and you can see if it does what
> you need.
Thanks
Keith Hutchison
Balance-Infosystems.Com
postgresql - m
I have a stack that I have made that provides a library for working
with sockets in Revolution, as well as a front end for the library.
I'll upload it to revOnline tonight, and you can see if it does what
you need.
Scott Slaugh
On Sat, 28 Aug 2004 06:27:29 +1000, Keith Hutchison
<[EMAIL PROTECTE
I am trying to put together some socket code on Windows. The documentation
seems clear but there are a couple things that are not as I expected and a
simple example would go a long way. Does anyone have such a thing handy?
Just a simple "accept/connect, send/receive, close" example.
Hi Paul,
There
On Mar 9, 2004, at 3:12 PM, Springer, Paul wrote:
I am trying to put together some socket code on Windows. The
documentation
seems clear but there are a couple things that are not as I expected
and a
simple example would go a long way. Does anyone have such a thing
handy?
Just a simple "accept/
This is off the top of my head, but hopefully it helps. It basically
just expects 1 line of input over the socket, and then echos it back.
Note that you don't have to use the "with message" syntax, but if you
don't then your program will block when doing reads and writes from the
socket, which i
On Jan 22, 2004, at 4:07 AM, Dar Scott wrote:
Though unusual, two computers on the same ethernet might not be on the
same subnet. There are a few ways this can cause trouble if this is
the case.
thats just ugly... :-D Once I stod hours trying to solve a "simple
netbios-samba problem" just to r
On Wednesday, January 21, 2004, at 10:38 PM, Scott Rossi wrote:
It works fine when client and server stacks are on the same
system, but not when they're on separate local systems.
Anything else I can try?
Make sure you can ping your own address (not just 127.0.0.1) and the
other address from the
On 1/21/04 8:54 PM, "Dar Scott" <[EMAIL PROTECTED]> wrote:
>> Can some kind soul enlighten me as to what I'm doing wrong?
>
> Sure!
>
> Only, I'm not clear on your setup.
>
> Is it this?
>
> A.
> Internet -- Firewall -Client
> |
On Wednesday, January 21, 2004, at 06:16 PM, Scott Rossi wrote:
Can some kind soul enlighten me as to what I'm doing wrong?
Sure!
Only, I'm not clear on your setup.
Is it this?
A.
Internet -- Firewall -Client
|
On Jan 21, 2004, at 11:16 PM, Scott Rossi wrote:
I'm trying to establish socket connections behind a router with
firewall.
(I'm using the little chat demo that Tuviah put together some time
ago.) I
assumed I only needed the local (router assigned) addresses of each
machine,
but either this is
The script Ken Ray posted on his site to Get MAC Address is excellent.
One note though, on my Win98 SE machine the function returned nothing
because
get matchText(temp,"Physical Address. . . . . . . . . :
([A-Z0-9-]*)",retVal)
doesn't find "Physical Address. . . . . . . . . :"
The data returned
Title: Re: Sockets
It is possible with AppleScript, so why shouldn't it with Revolution??
on 11/10/02 20:29, FreakyPhoenix > at [EMAIL PROTECTED] wrote:
I don't believe that is possible. Your computer just won't find your own IP.
FreakyPhoenix
>From: Manolo Garri
/revolution.htm?_env001
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
- Original Message -
From: "FreakyPhoenix >" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 10, 2002 1:29 PM
Subject: Re: Sockets
>
Sent: 10 November 2002 19:30
To: [EMAIL PROTECTED]
Subject: Re: Sockets
I don't believe that is possible. Your computer just won't find your own IP.
FreakyPhoenix
>From: Manolo Garrido
>Reply-To: [EMAIL PROTECTED]
>To:
>Subject: Sockets
>Date: Thu, 07 Nov 2002 17:01:0
I don't believe that is possible. Your computer just won't find your own IP.
FreakyPhoenix
>From: Manolo Garrido <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Sockets
>Date: Thu, 07 Nov 2002 17:01:00 +0100
>
>
>Does anyone knows if it's possible to dev
On Friday, July 12, 2002, at 02:22 AM, Larry Forsgren wrote:
> In sending commands to the mail server I used linefeed
> as described in the Revolution documentation
> write "command" & linefeed to socket "socket"
> This certainly does not work on Windows but replacing
> linefeed with CRLF wor
On Wednesday, July 10, 2002, at 01:41 PM, Larry Forsgren wrote:
> Correct, server contains "mailsever:110".
> I logged the results to a field but it came up empty.
> The sysError is 0 which I don´t know what it means.
> The actual code as it looks currently is below.
> It does not matter if I ch
> write "USER" && user to socket server
try:
write "USER" && user & CRLF to socket server
remember you need to send the CRLF at the end of every command (just like
SMTP)..
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mai
On Wednesday, July 10, 2002, at 01:28 PM, Larry Forsgren wrote:
> Unfortunately not. The mail server is on Unix (and I have tried a few
> which give the same result) and the client is on Windows XP. I can open
> the socket and read the welcome from the mail server but not access
> the socket wit
On Tuesday, July 9, 2002, at 03:40 PM, Larry Forsgren wrote:
> When trying to run the script again it fails until
> I restart revolution.
Any chance your mailserver is the same computer? And on Windows?
If so, I may have run into something similar.
Dar Scott
On Tuesday, July 9, 2002, at 10:20 PM, Shao Sean wrote:
> are you on windows? if so we've noticed that using a socket right after
> closing it will fail.. you'll need to give it some time in which
> to timeout
> (as was mentioned by someone else on the list.. they said to lower the
> socket tim
are you on windows? if so we've noticed that using a socket right after
closing it will fail.. you'll need to give it some time in which to timeout
(as was mentioned by someone else on the list.. they said to lower the
socket timeout)..
- Original Message -
When trying to run the script a
Sorry for the long email, but here are the basic routines I use for POP
communications.
You'll need to customize to fit in with your field names instead of
mine. Also, check the setupNextCall handler as that is specifically for
my button ID.
Everything gets logged so debugging is quite easy.
Hi
Although not directly relevant to the problems discussed, it's
probably a good idea to check the result after an open socket
statement. It seems that if the connection fails to open due to a
name resolution problem, the error is found in the result, not a
socketError message.
Cheers
Dave
> Did you try in adding the line below to your preopenstack script :
> > set the socketTimeoutInterval to "10"
thanks for the tip, i'll give it a try in the next revision of my project
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runr
[EMAIL PROTECTED] a écrit :
>
>
> Message: 7
> Date: Fri, 3 May 2002 21:01:43 -0600
> Subject: Re: sockets - opening and closing
> From: Dar Scott <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
>
> On Friday, May 3, 2002, at 08:
On Friday, May 3, 2002, at 08:33 PM, Shao Sean wrote:
>> I've seen this kind of thing when the server is the same computer.
> i'm on the server machine (server and client same machine) and another
> client in australia (can't physically get further away from me
> then that ;-)
I noticed that a
> I've seen this kind of thing when the server is the same computer.
i'm on the server machine (server and client same machine) and another
client in australia (can't physically get further away from me then that ;-)
--
> Could the server have put you on a black list?
i don't have any such featur
On Friday, May 3, 2002, at 07:18 PM, Shao Sean wrote:
> i've noticed that when creating a TCP socket that opening and
> closing it a
> few times in a row causes it not to work anymore..
>
> open
> close
> open <-- stops here most of the time
I've seen this kind of thing when the server is the
72 matches
Mail list logo