Click here to Skip to main content
15,886,137 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Combobox Pin
Niklas L17-Jun-10 21:53
Niklas L17-Jun-10 21:53 
GeneralRe: Combobox Pin
Code-o-mat18-Jun-10 4:15
Code-o-mat18-Jun-10 4:15 
QuestionLoading Bitmap in rect Pin
Anu_Bala17-Jun-10 18:48
Anu_Bala17-Jun-10 18:48 
AnswerRe: Loading Bitmap in rect Pin
Anu_Bala17-Jun-10 19:22
Anu_Bala17-Jun-10 19:22 
AnswerRe: Loading Bitmap in rect Pin
KarstenK17-Jun-10 20:48
mveKarstenK17-Jun-10 20:48 
QuestionTransfer data directly between 2 clients Pin
includeh1017-Jun-10 17:03
includeh1017-Jun-10 17:03 
AnswerRe: Transfer data directly between 2 clients Pin
Parthiban18-Jun-10 0:20
Parthiban18-Jun-10 0:20 
AnswerRe: Transfer data directly between 2 clients Pin
Emilio Garavaglia18-Jun-10 2:54
Emilio Garavaglia18-Jun-10 2:54 
You have to elaborate a bit better what you're going to achieve. In the term you spoke, the question is a nonsense.

In a "socket" world there must always be someone who connect to someone else who "listen". the first is a client , the second is a server.

Also "transfer between two or more" is a mis-concept.
That's not only a matter of grammar: networks are graphs, and graphs are made by nodes and arcs, and arcs are between two nodes. There cannot be segments with "two or more" ends.

What you're searching is not a "strange programming technic" but is an architecture made by client and server components placed on all the computers (the peers) that -after opening some sockets between some pair of them- exchanges some messages to let them understand what data is on what computer and let them transfer the "missing" data so that -after a number of iterations- all data are on all machines.
All this, is a "protocol" you have to design.

It's not a matter of TCP or UDP (they are just transport protocols) but of Checkpoints, Representation and Messages. In other ward "application level protocols".

The coding of the sockets is the last thing to be done, not the first.

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


GeneralRe: Transfer data directly between 2 clients Pin
includeh1020-Jun-10 13:44
includeh1020-Jun-10 13:44 
Questionarray => vector Pin
VeganFanatic17-Jun-10 9:22
VeganFanatic17-Jun-10 9:22 
AnswerRe: array => vector Pin
Stephen Hewitt17-Jun-10 14:01
Stephen Hewitt17-Jun-10 14:01 
GeneralRe: array => vector Pin
VeganFanatic17-Jun-10 14:03
VeganFanatic17-Jun-10 14:03 
GeneralRe: array => vector Pin
Stephen Hewitt17-Jun-10 14:18
Stephen Hewitt17-Jun-10 14:18 
GeneralRe: array => vector [modified] Pin
VeganFanatic17-Jun-10 14:27
VeganFanatic17-Jun-10 14:27 
GeneralRe: array => vector Pin
Stephen Hewitt17-Jun-10 14:57
Stephen Hewitt17-Jun-10 14:57 
GeneralRe: array => vector Pin
VeganFanatic17-Jun-10 15:10
VeganFanatic17-Jun-10 15:10 
GeneralRe: array => vector Pin
Stephen Hewitt17-Jun-10 15:45
Stephen Hewitt17-Jun-10 15:45 
GeneralRe: array => vector Pin
VeganFanatic17-Jun-10 15:46
VeganFanatic17-Jun-10 15:46 
GeneralRe: array => vector Pin
VeganFanatic17-Jun-10 15:58
VeganFanatic17-Jun-10 15:58 
AnswerRe: array => vector Pin
Aescleal17-Jun-10 22:18
Aescleal17-Jun-10 22:18 
Questioninheriting std::vector Pin
VeganFanatic17-Jun-10 8:26
VeganFanatic17-Jun-10 8:26 
AnswerRe: inheriting std::vector Pin
Aescleal17-Jun-10 9:12
Aescleal17-Jun-10 9:12 
GeneralRe: inheriting std::vector Pin
VeganFanatic17-Jun-10 9:15
VeganFanatic17-Jun-10 9:15 
AnswerRe: inheriting std::vector Pin
Chris Losinger17-Jun-10 9:14
professionalChris Losinger17-Jun-10 9:14 
GeneralRe: inheriting std::vector Pin
VeganFanatic17-Jun-10 9:18
VeganFanatic17-Jun-10 9:18 

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.