Re: Open Socket

2010-03-30 Thread Shani
> >wrote: > > > > > Shani, > > > > > > Do you want Rev to be *client* or *server*? If you want it to be the > > server > > > (with a Java client) then you need to look at the "accept" command: > > > > > > accept c

Re: Open Socket

2010-03-30 Thread Brian Yennie
Shani, As I wrote in my previous post, you need to use the "accept" command, not "open socket". Also, I think you are misunderstanding the "with message" portion. This message needs to be the name of a handler which is called when a connection is made. See my exa

Re: Open Socket

2010-03-30 Thread Andre Garzia
ok at the "accept" command: > > > > accept connections on port 6800 with message "serverConnect" > > > > on serverConnect tSocket > > read from socket tSocket for 1 line > > ... > > end serverConnect > > > > etc. >

Re: Open Socket

2010-03-30 Thread Shani
you want it to be the server > (with a Java client) then you need to look at the "accept" command: > > accept connections on port 6800 with message "serverConnect" > > on serverConnect tSocket > read from socket tSocket for 1 line > ... > end se

Re: Open Socket

2010-03-30 Thread Brian Yennie
or 1 line ... end serverConnect etc. > open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" > > is this is rihght code for rev and what about in JADE? > > Regards, > SHani > > On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia

Re: Open Socket

2010-03-30 Thread Andre Garzia
Shani, I know nothing about JADE but your command still wrong. Please also check the docs, your message has a space in it when it should not. Try something like: open socket to "127.0.0.1:6800" with message "serverconnected" Cheers andre On Tue, Mar 30, 2010 at 7:23 PM, S

Re: Open Socket

2010-03-30 Thread Shani
open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" is this is rihght code for rev and what about in JADE? Regards, SHani On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia wrote: > Shani, > > check out the documentation built-in with

Re: Open Socket

2010-03-30 Thread Andre Garzia
Shani, check out the documentation built-in with Rev. open socket expect and IP or server name, unless filename is a machine on your network, that code is wrong. Also what is that # symbol doing there? Om shanti andre On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: > Hi, > I w

Open Socket

2010-03-29 Thread Shani
Hi, I want to communicate with Other program Client (JAVA or JADE) from RevTalk through Socket. open socket to ("filename " & : & (port#)) with message "Server connected" ## http://docs.runrev.com/Command/open-socket what i give command on

Re: open socket - SSL client certificates

2008-08-17 Thread Noel
I don't think the documentation has been updated with the Beta yet. At least on my system, it is still the 2.9 docs. - Noel At 10:51 AM 8/17/2008, you wrote: And it's still in the documentation for Rev 3.0 ___ use-revolution mailing list use-revolut

Re: open socket - SSL client certificates

2008-08-17 Thread Shao Sean
And it's still in the documentation for Rev 3.0 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolu

open socket - SSL client certificates

2008-08-17 Thread Bernard Devlin
>From the 2.9 Dictionary under 'Open Socket': "Some servers require that the client submit a certificate as well, this will be supported in the next alpha." Has this feature ever materialized? I see that the "next alpha" is mentioned in "open soc

Re: Open Socket Question

2008-02-28 Thread Alex Tweedly
Sorry I'm late replying - time zone differences can be a real nuisance :-) It looks from later email that you've already figured out these answers - but I'll answer them for the sake of completeness for anyone reading the threads later. Dave wrote: The Server can "Accept" connections from

Re: Open Socket Question

2008-02-28 Thread Dave
On 27 Feb 2008, at 16:40, Alex Tweedly wrote: Dave wrote: 3) In my App, a Server is only allowed to Accept connections from Certain Clients (this is controlled by the IP Address and a Value passed to the Server in the Connection Request). This is my Accept code: function IStartServe

Re: Open Socket Question

2008-02-27 Thread Alex Tweedly
Dave wrote: 3) In my App, a Server is only allowed to Accept connections from Certain Clients (this is controlled by the IP Address and a Value passed to the Server in the Connection Request). This is my Accept code: function IStartServer theServerPortNumber -- -- Accept Connection(s

Re: Open Socket Question

2008-02-27 Thread Dave
icate with each other using TCP/IP Sockets. For a given application, I want to be able to connect it to a number of "server" applications, however the "server" apps make or may not be running, so what I want to be able to do is to issue an open socket to a "server&quo

Re: Open Socket Question

2008-02-26 Thread Dave
riginal list, you're done Phil Davis Dave wrote: Hi All, I have a number of applications that communicate with each other using TCP/IP Sockets. For a given application, I want to be able to connect it to a number of "server" applications, however the "server"

Re: Open Socket Question

2008-02-21 Thread Phil Davis
want to be able to connect it to a number of "server" applications, however the "server" apps make or may not be running, so what I want to be able to do is to issue an open socket to a "server" application and if the connection is made add it to a "connected"

Open Socket Question

2008-02-21 Thread Dave
to do is to issue an open socket to a "server" application and if the connection is made add it to a "connected" table and if not, carry on the to next server, but try to open the socket again at a later time. I can't seem to be able to get my head around the c

Re: open socket with message for function?

2002-01-15 Thread andu
[EMAIL PROTECTED] wrote: > > Does anyone know how to open a socket with a message to call a function? I > know that the "ACCEPT" (with message) can be used for ports, but what about > sockets? > > What I want is for Revolution to call a function when I recei

open socket with message for function?

2002-01-15 Thread JohnRule
Does anyone know how to open a socket with a message to call a function? I know that the "ACCEPT" (with message) can be used for ports, but what about sockets? What I want is for Revolution to call a function when I receive data on the open socket (this works fine with an open