Click here to Skip to main content
15,877,966 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 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 
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 
I find that the word 'client' can misguide you. The word 'application' can be better.
Let me re-explain this problem again.

I want to design a network application that can send and receive data using TCP protocol. Certainly, these application can listen the socket port if need.
The problem is that if two applications in two different LAN, without WAN IP because of FireWall, how to create TCP connection between these two applications.

Normally in different LANs, if one application as the server, it must have a WAN IP so the other application as the client can connect to it. But now these two applcation also do not have WAN IP, how to create the TCP connenctions?

I guess that the emule uses this way to transfer data between two clients with low ID. But I do not know how to achieve it.
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 
Questionfopen increment Pin
manju 314-Feb-12 3:16
manju 314-Feb-12 3:16 
AnswerRe: fopen increment Pin
Maximilien14-Feb-12 4:16
Maximilien14-Feb-12 4:16 
AnswerRe: fopen increment Pin
«_Superman_»14-Feb-12 16:15
professional«_Superman_»14-Feb-12 16:15 
QuestionApplication Crash Pin
pix_programmer14-Feb-12 1:51
pix_programmer14-Feb-12 1:51 
AnswerRe: Application Crash Pin
Chris Losinger14-Feb-12 3:10
professionalChris Losinger14-Feb-12 3:10 
QuestionRe: Application Crash Pin
pix_programmer14-Feb-12 17:45
pix_programmer14-Feb-12 17:45 

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.