> >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
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
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.
>
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
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
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
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
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
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
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
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
>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
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
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
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
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
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"
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"
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
[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
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
21 matches
Mail list logo