Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorting out duplicate drives... Pin
David Crow12-Nov-03 4:48
David Crow12-Nov-03 4:48 
GeneralRe: Sorting out duplicate drives... Pin
dandy7213-Nov-03 2:38
dandy7213-Nov-03 2:38 
GeneralRe: Sorting out duplicate drives... Pin
Terry O'Nolley12-Nov-03 10:22
Terry O'Nolley12-Nov-03 10:22 
GeneralUDP Client Pin
NewHSKid12-Nov-03 4:19
NewHSKid12-Nov-03 4:19 
GeneralRe: UDP Client Pin
Peter Molnar12-Nov-03 12:58
Peter Molnar12-Nov-03 12:58 
GeneralDeveloping, building, and testing. How do it the best? Learning from the world leader - Microsoft Pin
gicio12-Nov-03 3:36
gicio12-Nov-03 3:36 
GeneralRe: Developing, building, and testing. How do it the best? Learning from the world leader - Microsoft Pin
David Crow12-Nov-03 4:44
David Crow12-Nov-03 4:44 
GeneralWinsock ? Again Pin
Stan the man12-Nov-03 3:30
Stan the man12-Nov-03 3:30 
Hi.

My previous question was whether I need the platform SDk for WInsock. I want to use WSA.., connect, etc type of calls instead of MFC ones. I assume the answer is still the same and I do not need the platform SDK.

The next question I got is this. EACH port can only connect to ONE server. Is this correct?

I want to write a client class that will connect to a server. It will then spawn a thread to handle the reading of the data as it comes so as to get the data as soon as possible. If only ONE connection is possible, then I can just use the event method to signal that data has come in. Is this the best way? THis way I know when things come in and when a write is finished if I need it. I don't think I will have too many clients on the computer so that creating a thread for each socket port is probably OK. I just want to make sure my thinking is along the right lines.

THanks!!!




GeneralRe: Winsock ? Again Pin
Antti Keskinen12-Nov-03 3:47
Antti Keskinen12-Nov-03 3:47 
GeneralRe: Winsock ? Again Pin
Pir8ofTampa12-Nov-03 3:55
Pir8ofTampa12-Nov-03 3:55 
GeneralRe: Winsock ? Again Pin
Peter Molnar12-Nov-03 13:03
Peter Molnar12-Nov-03 13:03 
GeneralCheckBoxes in setup Pin
BoudewijnEctor12-Nov-03 3:17
BoudewijnEctor12-Nov-03 3:17 
GeneralRe: CheckBoxes in setup Pin
David Crow12-Nov-03 3:29
David Crow12-Nov-03 3:29 
GeneralRe: CheckBoxes in setup Pin
BoudewijnEctor12-Nov-03 4:04
BoudewijnEctor12-Nov-03 4:04 
GeneralRe: CheckBoxes in setup Pin
David Crow12-Nov-03 4:08
David Crow12-Nov-03 4:08 
GeneralRe: CheckBoxes in setup Pin
BoudewijnEctor12-Nov-03 4:38
BoudewijnEctor12-Nov-03 4:38 
GeneralRe: CheckBoxes in setup Pin
David Crow12-Nov-03 4:54
David Crow12-Nov-03 4:54 
GeneralRe: CheckBoxes in setup Pin
BoudewijnEctor2-Dec-03 21:55
BoudewijnEctor2-Dec-03 21:55 
GeneralRe: CheckBoxes in setup Pin
David Crow3-Dec-03 2:54
David Crow3-Dec-03 2:54 
GeneralRe: CheckBoxes in setup Pin
Maximilien12-Nov-03 4:49
Maximilien12-Nov-03 4:49 
GeneralChange Printer Port Pin
Andy H12-Nov-03 3:04
Andy H12-Nov-03 3:04 
GeneralMFC and COM, and Access violation in CoUninitialize Pin
sagmam12-Nov-03 2:55
sagmam12-Nov-03 2:55 
GeneralRe: MFC and COM, and Access violation in CoUninitialize Pin
Antti Keskinen12-Nov-03 3:38
Antti Keskinen12-Nov-03 3:38 
GeneralRe: MFC and COM, and Access violation in CoUninitialize Pin
sagmam12-Nov-03 4:06
sagmam12-Nov-03 4:06 
GeneralRe: MFC and COM, and Access violation in CoUninitialize Pin
Pir8ofTampa12-Nov-03 4:32
Pir8ofTampa12-Nov-03 4:32 

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.