Click here to Skip to main content
14,329,910 members

ATL / WTL / STL

 
GeneralRe: Please describe overlapped operations Pin
bkelly1320-Jan-14 3:46
memberbkelly1320-Jan-14 3:46 
GeneralRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 6:38
protectorRichard MacCutchan20-Jan-14 6:38 
GeneralRe: Please describe overlapped operations Pin
bkelly1320-Jan-14 9:12
memberbkelly1320-Jan-14 9:12 
GeneralRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 22:12
protectorRichard MacCutchan20-Jan-14 22:12 
GeneralRe: Please describe overlapped operations Pin
pasztorpisti4-Apr-14 10:25
professionalpasztorpisti4-Apr-14 10:25 
GeneralRe: Please describe overlapped operations Pin
pasztorpisti4-Apr-14 10:26
professionalpasztorpisti4-Apr-14 10:26 
SuggestionRe: Please describe overlapped operations Pin
Richard MacCutchan4-Apr-14 23:15
protectorRichard MacCutchan4-Apr-14 23:15 
QuestionWinsock Peer to Peer using UDP and TCP Pin
SD120810-Jan-14 4:27
memberSD120810-Jan-14 4:27 
Hello,
I've been working on an application that would allow a program to communicate over lan, using UDP and TCP. Here's a general flow of what I was thinking:

1. Send UDP Broadcast to subnet on a port that all applications will listen on (i.e. all listening on 59200)

2. The application running on other nodes, receive the broadcast and echo a UDP broadcast back.

3. Using the information obtained from the UDP echo, a TCP connection is opened and data is exchanged.

4. Connections remain open until an error occurs (this was a requirement of design.)

Is such a design feasible, and if so how would it best be accomplished? I've been reading up on Winsock and MSDN articles on this, and have created client/server applications but have not found very much that would outline a peer-to-peer application like this. I would appreciate any guidance, or direction a resource that could further my understanding on this topic.
AnswerRe: Winsock Peer to Peer using UDP and TCP Pin
Albert Holguin10-Jan-14 4:59
professionalAlbert Holguin10-Jan-14 4:59 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
SD120810-Jan-14 5:08
memberSD120810-Jan-14 5:08 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
Albert Holguin10-Jan-14 7:34
professionalAlbert Holguin10-Jan-14 7:34 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
SoMad10-Jan-14 8:56
protectorSoMad10-Jan-14 8:56 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
bkelly1319-Jan-14 9:28
memberbkelly1319-Jan-14 9:28 
Generallink error 1104 Pin
Prasun Hazra 5-Jan-14 8:15
memberPrasun Hazra 5-Jan-14 8:15 
GeneralRe: link error 1104 Pin
Richard MacCutchan5-Jan-14 22:16
protectorRichard MacCutchan5-Jan-14 22:16 
GeneralRe: link error 1104 Pin
Prasun Hazra 7-Jan-14 23:10
memberPrasun Hazra 7-Jan-14 23:10 
GeneralRe: link error 1104 Pin
Richard MacCutchan7-Jan-14 23:25
protectorRichard MacCutchan7-Jan-14 23:25 
AnswerRe: link error 1104 Pin
Albert Holguin8-Jan-14 17:11
professionalAlbert Holguin8-Jan-14 17:11 
QuestionHow to create and register two dlls with same name?(VS 2010) Pin
J_Me10-Dec-13 21:43
professionalJ_Me10-Dec-13 21:43 
AnswerRe: How to create and register two dlls with same name?(VS 2010) Pin
Richard MacCutchan10-Dec-13 22:21
protectorRichard MacCutchan10-Dec-13 22:21 
GeneralRe: How to create and register two dlls with same name?(VS 2010) Pin
J_Me10-Dec-13 23:53
professionalJ_Me10-Dec-13 23:53 
GeneralRe: How to create and register two dlls with same name?(VS 2010) Pin
Richard MacCutchan11-Dec-13 0:12
protectorRichard MacCutchan11-Dec-13 0:12 
AnswerRe: How to create and register two dlls with same name?(VS 2010) Pin
Albert Holguin11-Dec-13 5:02
professionalAlbert Holguin11-Dec-13 5:02 
AnswerRe: How to create and register two dlls with same name?(VS 2010) Pin
Vi219-Dec-13 22:00
memberVi219-Dec-13 22:00 
Questionerror WTL Pin
Member 104023901-Dec-13 4:42
professionalMember 104023901-Dec-13 4:42 

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.