|
-
Aug 6th, 2009, 01:08 PM
#1
Thread Starter
Lively Member
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
-
Aug 6th, 2009, 02:03 PM
#2
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.
-
Aug 6th, 2009, 02:06 PM
#3
Thread Starter
Lively Member
Re: Reverse Connection
well there would be one computer listening for connections and then some that have to connect to that computer
-
Aug 6th, 2009, 02:07 PM
#4
Re: Reverse Connection
ok, I don't get what you mean though by "reverse connection" or "reverse action"
-
Aug 6th, 2009, 07:08 PM
#5
Thread Starter
Lively Member
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
-
Aug 7th, 2009, 12:47 AM
#6
Re: Reverse Connection
Reports to who? You're going to have to be much clearer with what you expect to happen.
-
Aug 7th, 2009, 12:56 AM
#7
Thread Starter
Lively Member
Re: Reverse Connection
Peudocode
if Program is Running Then
Connect to example ip or dns
Status = "Online"
end if
-
Aug 7th, 2009, 01:18 AM
#8
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|