Click here to Skip to main content
15,917,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBoost Spirit: Parse an int into a string. Pin
Maximilien21-Feb-17 2:54
Maximilien21-Feb-17 2:54 
QuestionAES 128 block cipher problem running Pin
Member 1300542516-Feb-17 19:27
Member 1300542516-Feb-17 19:27 
AnswerRe: AES 128 block cipher problem running Pin
CPallini16-Feb-17 20:55
mveCPallini16-Feb-17 20:55 
GeneralRe: AES 128 block cipher problem running Pin
Razvan Cristian28-Feb-17 7:25
Razvan Cristian28-Feb-17 7:25 
QuestionBooks on learning wxWidgets and understanding terminology? Pin
Member 1297423513-Feb-17 11:34
Member 1297423513-Feb-17 11:34 
AnswerRe: Books on learning wxWidgets and understanding terminology? Pin
VISWESWARAN199813-Feb-17 19:34
professionalVISWESWARAN199813-Feb-17 19:34 
QuestionASSERT(pState->m_hSocketWindow != NULL); When trying to close in the same thread Socket Was Created Pin
ForNow12-Feb-17 16:02
ForNow12-Feb-17 16:02 
AnswerRe: ASSERT(pState->m_hSocketWindow != NULL); When trying to close in the same thread Socket Was Created Pin
Jochen Arndt13-Feb-17 1:19
professionalJochen Arndt13-Feb-17 1:19 
QuestionI don't quite get this thing I've noticed Pin
Member 1297423512-Feb-17 15:56
Member 1297423512-Feb-17 15:56 
QuestionRe: I don't quite get this thing I've noticed Pin
David Crow12-Feb-17 16:31
David Crow12-Feb-17 16:31 
AnswerRe: I don't quite get this thing I've noticed Pin
Richard MacCutchan12-Feb-17 23:20
mveRichard MacCutchan12-Feb-17 23:20 
GeneralRe: I don't quite get this thing I've noticed Pin
Member 1297423513-Feb-17 11:28
Member 1297423513-Feb-17 11:28 
GeneralRe: I don't quite get this thing I've noticed Pin
Richard MacCutchan13-Feb-17 21:49
mveRichard MacCutchan13-Feb-17 21:49 
GeneralRe: I don't quite get this thing I've noticed Pin
leon de boer15-Feb-17 17:31
leon de boer15-Feb-17 17:31 
QuestionUDP Server vs Client Pin
bkelly1311-Feb-17 13:40
bkelly1311-Feb-17 13:40 
AnswerRe: UDP Server vs Client Pin
Richard MacCutchan11-Feb-17 20:40
mveRichard MacCutchan11-Feb-17 20:40 
GeneralRe: UDP Server vs Client Pin
bkelly1312-Feb-17 3:38
bkelly1312-Feb-17 3:38 
GeneralRe: UDP Server vs Client Pin
Richard MacCutchan12-Feb-17 6:07
mveRichard MacCutchan12-Feb-17 6:07 
AnswerRe: UDP Server vs Client Pin
leon de boer12-Feb-17 6:59
leon de boer12-Feb-17 6:59 
There is no requirement for handshaking on UDP so who is server and who is client is purely notional.

In human perspectives it's like two people talking on a CB band and one claiming they are the server and the other the client. The answer is purely in the eyes of the beholder and it is completely meaningless to the operation.

It is the EXACTLY the same situation you have two parties chatting using UDP and no-one is in control. Either party can choose a) not to send or b) not to listen and so the idea of who is server and who is client is pointless. Generally the thing that makes that decision is where the data is coming from and going to which has nothing to do with the protocol. However for any situation you gave me I could always argue the server is the other end to the one you choose (you just have to pick the right criteria).

To give you an example consider SNMP packets sent from a router back to be logged to a central site (your ISP usually has a display log of your data usage using this). Is the SNMP server the central site or is it the router sending the SNMP packets? Well if you goto the router settings they will generally call themselves the SNMP server. Most likely your SNMP monitor software will also call itself a server because it has the database and is running on an actual server. So which is server and which is client .. well non-one cares it changes nothing Smile | :)
In vino veritas


modified 12-Feb-17 13:12pm.

QuestionHow to create a Data Segment in a DLL that can only be accessed by a valid trusted application Pin
Rajesh_Parameswaran9-Feb-17 3:26
Rajesh_Parameswaran9-Feb-17 3:26 
AnswerRe: How to create a Data Segment in a DLL that can only be accessed by a valid trusted application Pin
Rick York9-Feb-17 7:05
mveRick York9-Feb-17 7:05 
QuestionPostMessage issues/questions Pin
ForNow8-Feb-17 2:15
ForNow8-Feb-17 2:15 
AnswerRe: PostMessage issues/questions Pin
Victor Nijegorodov8-Feb-17 11:09
Victor Nijegorodov8-Feb-17 11:09 
GeneralRe: PostMessage issues/questions Pin
ForNow9-Feb-17 2:05
ForNow9-Feb-17 2:05 
QuestionDeleting Image IN VC++ Pin
raajpatel7-Feb-17 23:14
raajpatel7-Feb-17 23:14 

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.