Click here to Skip to main content
15,882,464 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric16-Feb-12 1:02
Erudite_Eric16-Feb-12 1:02 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Jochen Arndt16-Feb-12 3:16
professionalJochen Arndt16-Feb-12 3:16 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric16-Feb-12 20:22
Erudite_Eric16-Feb-12 20:22 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Albert Holguin15-Feb-12 9:42
professionalAlbert Holguin15-Feb-12 9:42 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric16-Feb-12 0:59
Erudite_Eric16-Feb-12 0:59 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Albert Holguin16-Feb-12 7:18
professionalAlbert Holguin16-Feb-12 7:18 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric16-Feb-12 20:23
Erudite_Eric16-Feb-12 20:23 
AnswerRe: How to create TCP connections between two clients in different LAN? Pin
Chuck O'Toole15-Feb-12 1:02
Chuck O'Toole15-Feb-12 1:02 
Ouch, that's a little harsh. "Client - Server" is a concept / term that confuses a lot of people. A lot of people think "Server" in a hardware-like way, that is, some machine technically designated as a "server", running "server software" like "web services", "database services", Windows Server 2008, etc.

However, for some people, "Client - Server" is more like "Pitcher - Catcher", one system "initiates" a connection (the Client), the other "waits / receives" the connection (the Server). This is the TCP model, both machines cannot "initiate" the connection and have it work, there is one "connector / pitcher" and one "receiver / catcher". Many people, I and Jochen included, call this "client - server".

Where some people become confused is that, at any moment, a particular machine can both initiate a connection somewhere (be the client) and have ports awaiting connection (be the server). I once knew a guy who just couldn't get his head around that idea. Even when I explained that when he was in the lab using a database server machine and ran IE to open a web page, that IE was the "client" and the target web site was the "server".

So, in some sense, TCP *does* have sod to do with clients and servers, the "conceptual kind", not the "physical kind".
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Jochen Arndt15-Feb-12 1:07
professionalJochen Arndt15-Feb-12 1:07 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric15-Feb-12 1:26
Erudite_Eric15-Feb-12 1:26 
AnswerRe: How to create TCP connections between two clients in different LAN? Pin
Chuck O'Toole15-Feb-12 1:38
Chuck O'Toole15-Feb-12 1:38 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric15-Feb-12 2:55
Erudite_Eric15-Feb-12 2:55 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Albert Holguin15-Feb-12 9:43
professionalAlbert Holguin15-Feb-12 9:43 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
yu-jian15-Feb-12 2:58
yu-jian15-Feb-12 2:58 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Jochen Arndt15-Feb-12 3:33
professionalJochen Arndt15-Feb-12 3:33 
AnswerRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric15-Feb-12 0:37
Erudite_Eric15-Feb-12 0:37 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
yu-jian15-Feb-12 3:02
yu-jian15-Feb-12 3:02 
GeneralRe: How to create TCP connections between two clients in different LAN? Pin
Erudite_Eric15-Feb-12 22:35
Erudite_Eric15-Feb-12 22:35 
AnswerRe: How to create TCP connections between two clients in different LAN? Pin
Richard MacCutchan15-Feb-12 4:00
mveRichard MacCutchan15-Feb-12 4:00 
AnswerRe: How to create TCP connections between two clients in different LAN? Pin
Randor 15-Feb-12 13:26
professional Randor 15-Feb-12 13:26 
QuestionSHA1 encoding using Windows Crypto API with Unmanaged C++ Pin
Cyber Friend14-Feb-12 11:54
Cyber Friend14-Feb-12 11:54 
AnswerRe: SHA1 encoding using Windows Crypto API with Unmanaged C++ Pin
pix_programmer14-Feb-12 20:48
pix_programmer14-Feb-12 20:48 
GeneralRe: SHA1 encoding using Windows Crypto API with Unmanaged C++ Pin
Cyber Friend15-Feb-12 12:16
Cyber Friend15-Feb-12 12:16 
AnswerRe: SHA1 encoding using Windows Crypto API with Unmanaged C++ Pin
Randor 15-Feb-12 13:37
professional Randor 15-Feb-12 13:37 
GeneralRe: SHA1 encoding using Windows Crypto API with Unmanaged C++ [Resolved] Pin
Cyber Friend15-Feb-12 13:41
Cyber Friend15-Feb-12 13:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.