Results 1 to 4 of 4

Thread: Need Help With OpenConnection, Send/ReadConnectionData

  1. #1
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need Help With OpenConnection, Send/ReadConnectionData

    I am currently working on a script that requires two seperate computers to communicate together. Both of the computers are accessible over my LAN. Eventually I will be working on making them communicate via the World Wide Web...

    This is the code I have been playing around with...
    SCAR Code:
    SendConnectionData(OpenConnection({MyComputersIP}, 41805, 60000), 'working?');

    ReadConnectionData(OpenConnection({MyComputersIP}, 41805, 60000), MessageString);
    Writeln(MessageString);

    The Only thing I can think of is maybe I need to run a webserver on one of my computers?...

    Im not at all sure how to use these functions... Any help would be greatly appreciated.

    Thanks.

  2. #2
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well I experimented myself, made one scar to send data and other to read it continuously, but didn't worked out.

    I'd recommend you to ask Freddy, the developer of scar.
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  3. #3
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Ehm.. This is only the Client side of the Socket..

    In scar it's not possible to make a listen for a port.. Therefore you must code a server in any other language.. (In Delphi it would be TcpServer).
    Verrekte Koekwous

  4. #4
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Im sorry mastaraymond, your reply has confused me a bit... If I did write myself a server using a different language, then it mgiht be able to listen for data. but how would I send data from the server to scar? Wouldnt scar just not be able to get the data either way?

    Sorry im a bit confused...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. type send not send keys in vb
    By Noob King in forum C#/Visual Basic Help and Tutorials
    Replies: 5
    Last Post: 10-23-2008, 09:14 PM
  2. Send us your specs!
    By WhoCares357 in forum RS has been updated.
    Replies: 16
    Last Post: 05-13-2008, 09:34 PM
  3. How to send the key esc.
    By Derek- in forum OSR Help
    Replies: 3
    Last Post: 12-23-2007, 03:37 AM
  4. How would I send an FKEY
    By eFox in forum OSR Help
    Replies: 4
    Last Post: 11-16-2007, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •