Results 1 to 8 of 8

Thread: Reverse Connection

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2008
    Posts
    84

    Reverse Connection

    How do you have reverse action using vb.net. Like if i was running the server on a pc how could i have it connecting to my pc

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Reverse Connection

    server is just a term for the side of things that manages multiple client connections.

    if I have 3 devices and 2 of them communicate through the 3rd one, then the 2 are acting as clients, and the 3rd one is acting as the server.

    If I have 2 devices, and one connects to the other, the one that is connecting is the client, and the one receiveing the connection is the server.

    Generally whichever party is listening for incoming connections is considered the server, while the one making the connection is the client.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2008
    Posts
    84

    Re: Reverse Connection

    well there would be one computer listening for connections and then some that have to connect to that computer

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Reverse Connection

    ok, I don't get what you mean though by "reverse connection" or "reverse action"

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2008
    Posts
    84

    Re: Reverse Connection

    OK so computer 1 is running one part of the program that connects to computer 2, when it is connected the computer 2, the other part of the program that is running on computer 2 reports that computer 1 is connected

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Reverse Connection

    Reports to who? You're going to have to be much clearer with what you expect to happen.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jul 2008
    Posts
    84

    Re: Reverse Connection

    Peudocode
    if Program is Running Then
    Connect to example ip or dns
    Status = "Online"
    end if

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Reverse Connection

    There is no "reverse connection". Once the client connects to the server there is a connection. Both parties can then send data to the other over that connection. The server doesn't have to tell the client that it's connected because, when the client tries to connect, it will either succeed or fail. If it succeeds then it's connected and if it fails then it isn't.

    If that doesn't answer your question then you're going to actually have to restate your question because you're still being very vague. Forget code or pseudo-code. Just tell us how you want your application to behave in terms of functionality. If you don't know how you want your application to behave then there's no way that we can tell you how to make it behave that way.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

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



Click Here to Expand Forum to Full Width