Open Socket
Brian Yennie
briany at qldlearning.com
Tue Mar 30 18:37:42 EDT 2010
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 connections on port 6800 with message "serverConnect"
on serverConnect tSocket
read from socket tSocket for 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 <andre at andregarzia.com> wrote:
>
>> 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 <shani.runrev at gmail.com> wrote:
>>
>>> 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 client side.
>>>
>>> Regards,
>>> SHANI
More information about the use-livecode
mailing list