Click here to Skip to main content
15,884,353 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help With SetTimer in C++ 6 Pin
Richard MacCutchan26-Jun-11 5:42
mveRichard MacCutchan26-Jun-11 5:42 
GeneralRe: Help With SetTimer in C++ 6 [modified] Pin
David Crow27-Jun-11 3:19
David Crow27-Jun-11 3:19 
GeneralRe: Help With SetTimer in C++ 6 Pin
Member 801201327-Jun-11 4:30
Member 801201327-Jun-11 4:30 
AnswerRe: Help With SetTimer in C++ 6 Pin
enhzflep25-Jun-11 21:57
enhzflep25-Jun-11 21:57 
GeneralRe: Help With SetTimer in C++ 6 Pin
Member 801201326-Jun-11 6:02
Member 801201326-Jun-11 6:02 
GeneralRe: Help With SetTimer in C++ 6 Pin
enhzflep26-Jun-11 13:12
enhzflep26-Jun-11 13:12 
QuestionHow tcp socket works for read & write both on same port? Pin
rahul.kulshreshtha23-Jun-11 23:34
rahul.kulshreshtha23-Jun-11 23:34 
AnswerRe: How tcp socket works for read & write both on same port? Pin
Code-o-mat24-Jun-11 0:25
Code-o-mat24-Jun-11 0:25 
rahul.kulshreshtha wrote:
I<layer> am trying with tcp sockets. I have one confusion that suppose I open a port (localhost:9200) and if i use that port for reading and writing both then how the same port can be used for that.

What exactly do you mean by "how"?

rahul.kulshreshtha wrote:
Will the data collide if I am trying to write on a port and somebody is sending data on that port?

No. Incoming and outgoing data is separated by other than the application layer (i guess it is either done by the hardware layer or maybe the protocol layer, would need to look deeper into that).
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<

GeneralRe: How tcp socket works for read & write both on same port? Pin
rahul.kulshreshtha24-Jun-11 1:15
rahul.kulshreshtha24-Jun-11 1:15 
GeneralRe: How tcp socket works for read & write both on same port? Pin
Code-o-mat24-Jun-11 1:20
Code-o-mat24-Jun-11 1:20 
GeneralRe: How tcp socket works for read & write both on same port? Pin
CPallini24-Jun-11 1:57
mveCPallini24-Jun-11 1:57 
AnswerRe: How tcp socket works for read & write both on same port? Pin
David Cunningham24-Jun-11 5:52
cofounderDavid Cunningham24-Jun-11 5:52 
AnswerRe: How tcp socket works for read & write both on same port? Pin
jschell24-Jun-11 7:52
jschell24-Jun-11 7:52 
GeneralRe: How tcp socket works for read & write both on same port? Pin
rahul.kulshreshtha24-Jun-11 15:54
rahul.kulshreshtha24-Jun-11 15:54 
QuestionPopulate list from database [modified] Pin
Germghost23-Jun-11 22:21
Germghost23-Jun-11 22:21 
AnswerRe: Populate list from database Pin
David Crow24-Jun-11 3:07
David Crow24-Jun-11 3:07 
GeneralRe: Populate list from database Pin
Germghost24-Jun-11 3:25
Germghost24-Jun-11 3:25 
QuestionMemory alignment changed from studio 2005 to 2010? Pin
William Engberts23-Jun-11 20:55
William Engberts23-Jun-11 20:55 
QuestionRe: Memory alignment changed from studio 2005 to 2010? Pin
CPallini23-Jun-11 22:04
mveCPallini23-Jun-11 22:04 
AnswerRe: Memory alignment changed from studio 2005 to 2010? Pin
William Engberts23-Jun-11 22:25
William Engberts23-Jun-11 22:25 
QuestionRe: Memory alignment changed from studio 2005 to 2010? Pin
CPallini23-Jun-11 22:28
mveCPallini23-Jun-11 22:28 
GeneralRe: Memory alignment changed from studio 2005 to 2010? Pin
William Engberts23-Jun-11 22:30
William Engberts23-Jun-11 22:30 
AnswerRe: Memory alignment changed from studio 2005 to 2010? Pin
Alain Rist24-Jun-11 5:14
Alain Rist24-Jun-11 5:14 
QuestionMFC: Message-only CWnd in an SDI application. [modified] Pin
Odysseas Z23-Jun-11 5:17
Odysseas Z23-Jun-11 5:17 
AnswerRe: MFC: Message-only CWnd in an SDI application. Pin
jeron123-Jun-11 6:23
jeron123-Jun-11 6:23 

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.