Results 1 to 7 of 7

Thread: Questioin!

  1. #1
    Join Date
    Dec 2008
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Questioin!

    LOl i found this

    SCAR Code:
    function OpenConnection(Host: string; Port, TimeOut: Integer): Integer;
    Creates new socket connection to specified host and port. Returns connection handle if successful.

    wut does it do, and how is it used??
    BarbvilleCoalMinerAndBanker
    80% complete
    AutoPCTrainer
    60% complete

    Quote Originally Posted by whereyouat07 View Post
    [Runtime Error] : Out Of Range in line 68 in script C:\Users\Oliver\AppData\Local\Microsoft\Windows\Te mporary Internet Files\Low\Content.IE5\OB8J6FUC\LumbyNewbie%20V0.9[1].scar

    what the hell is this lol?
    Quote Originally Posted by TravisV10 View Post
    An error (h)

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by droppeD:) View Post
    LOl i found this

    SCAR Code:
    function OpenConnection(Host: string; Port, TimeOut: Integer): Integer;
    [B]Creates new socket connection to specified host and port. Returns connection handle if successful.[/B]

    wut does it do, and how is it used??
    >.>

    it will connect you to a host..

  3. #3
    Join Date
    Dec 2008
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    >.>

    it will connect you to a host..
    obviously but whats the purpose of it? and what do u put in for the paramaters
    SCAR Code:
    function IsConnectionOpen(Connection: Integer): Boolean;
    Checks if connection is connected.
    BarbvilleCoalMinerAndBanker
    80% complete
    AutoPCTrainer
    60% complete

    Quote Originally Posted by whereyouat07 View Post
    [Runtime Error] : Out Of Range in line 68 in script C:\Users\Oliver\AppData\Local\Microsoft\Windows\Te mporary Internet Files\Low\Content.IE5\OB8J6FUC\LumbyNewbie%20V0.9[1].scar

    what the hell is this lol?
    Quote Originally Posted by TravisV10 View Post
    An error (h)

  4. #4
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the host name, port, and timeout.. >.>

    it says it all in there..

    you could google it..

  5. #5
    Join Date
    Dec 2008
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    the host name, port, and timeout.. >.>

    it says it all in there..

    you could google it..
    i guess i could but i dont understand why scar would need to connect to a host?
    BarbvilleCoalMinerAndBanker
    80% complete
    AutoPCTrainer
    60% complete

    Quote Originally Posted by whereyouat07 View Post
    [Runtime Error] : Out Of Range in line 68 in script C:\Users\Oliver\AppData\Local\Microsoft\Windows\Te mporary Internet Files\Low\Content.IE5\OB8J6FUC\LumbyNewbie%20V0.9[1].scar

    what the hell is this lol?
    Quote Originally Posted by TravisV10 View Post
    An error (h)

  6. #6
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    versatility.. just like it's http support..

  7. #7
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    You can use it to open a connection to send/receive data from a socket.
    SCAR Code:
    Var
      C : Integer;

    Begin
      C := OpenConnection(Params);
      If IsConnectionOpen(C) Then
        WriteLn('Connected.');
    End.
    Ce ne sont que des gueux


Thread Information

Users Browsing this Thread

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

Posting Permissions

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