Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAbt changing the settings of default keys In Win CE 6.0 Pin
Pankaj Kothawade14-Feb-08 18:52
Pankaj Kothawade14-Feb-08 18:52 
Generalencryption in windows mobile [modified] Pin
guru moorthy.k14-Feb-08 18:51
guru moorthy.k14-Feb-08 18:51 
GeneralRe: encryption in windows mobile Pin
Rajesh R Subramanian14-Feb-08 20:27
professionalRajesh R Subramanian14-Feb-08 20:27 
QuestionThreads not working in network Pin
Wamuti14-Feb-08 18:22
Wamuti14-Feb-08 18:22 
GeneralRe: Threads not working in network Pin
Rajkumar R14-Feb-08 19:08
Rajkumar R14-Feb-08 19:08 
QuestionRe: Threads not working in network Pin
Wamuti14-Feb-08 19:52
Wamuti14-Feb-08 19:52 
GeneralRe: Threads not working in network Pin
Mark Salsbery15-Feb-08 6:49
Mark Salsbery15-Feb-08 6:49 
GeneralRe: Threads not working in network Pin
Wamuti17-Feb-08 20:07
Wamuti17-Feb-08 20:07 
Mark Salsbery wrote:
Your problems have nothing to do with threads.


I did not know that. D'Oh! | :doh:

Mark Salsbery wrote:
A single threaded application can handle multiple socket connections.


I'd really appreciate if you could tell me how or recommend a site i can read about that. I woild really appreciate because that's what i need.

Mark Salsbery wrote:
Yes, there can be advantages to using multiple threads, but your socket
code is already not going to work so adding threads won't help here.


You've said that a single threaded application can handle multiple socket connections. What then are the advantages of multiple threads in a socket connection?

Mark Salsbery wrote:
1) I don't know what "OnListen()" is


Okay. It's a function that i have put so that i can initialize in OnInitDialog instead of clogging it with lots of code.
Mark Salsbery wrote:
There's nothing in the code you've shown that indicates that you know how to use
sockets. I would recommend getting that down pat before trying to throw threads at
the problems.


A bit harsh Wink | ;) but truth be told, you've hit the nail on the head.i am a begginner programmer working with a "Learn Visual C++ in 21 days" and trying my level best. Infact, i am making my very first socket program. Could you please recommend a site.

Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

GeneralRe: Threads not working in network Pin
Mark Salsbery18-Feb-08 6:19
Mark Salsbery18-Feb-08 6:19 
GeneralRe: Threads not working in network Pin
Wamuti18-Feb-08 19:23
Wamuti18-Feb-08 19:23 
Generalcom Pin
tarak Desai14-Feb-08 17:56
tarak Desai14-Feb-08 17:56 
GeneralRe: com Pin
Wamuti14-Feb-08 18:37
Wamuti14-Feb-08 18:37 
AnswerRe: com Pin
Wamuti14-Feb-08 18:43
Wamuti14-Feb-08 18:43 
GeneralRe: com Pin
ThatsAlok14-Feb-08 22:25
ThatsAlok14-Feb-08 22:25 
GeneralAlignment of Variables Whitin structure Pin
ForNow14-Feb-08 17:53
ForNow14-Feb-08 17:53 
GeneralRe: Alignment of Variables Whitin structure Pin
Maxwell Chen14-Feb-08 18:11
Maxwell Chen14-Feb-08 18:11 
GeneralRe: Alignment of Variables Whitin structure Pin
ForNow14-Feb-08 22:05
ForNow14-Feb-08 22:05 
GeneralRe: Alignment of Variables Whitin structure Pin
Iain Clarke, Warrior Programmer14-Feb-08 22:28
Iain Clarke, Warrior Programmer14-Feb-08 22:28 
GeneralRe: Alignment of Variables Whitin structure Pin
ForNow15-Feb-08 0:01
ForNow15-Feb-08 0:01 
GeneralHelp with OOP Pin
Lord Kixdemp14-Feb-08 17:22
Lord Kixdemp14-Feb-08 17:22 
GeneralRe: Help with OOP [modified] Pin
Rajkumar R14-Feb-08 17:34
Rajkumar R14-Feb-08 17:34 
GeneralRe: Help with OOP Pin
Lord Kixdemp14-Feb-08 17:38
Lord Kixdemp14-Feb-08 17:38 
GeneralRe: Help with OOP Pin
Rajesh R Subramanian14-Feb-08 20:30
professionalRajesh R Subramanian14-Feb-08 20:30 
GeneralRe: Help with OOP Pin
Rajkumar R14-Feb-08 22:12
Rajkumar R14-Feb-08 22:12 
GeneralRe: Help with OOP Pin
David Crow15-Feb-08 3:37
David Crow15-Feb-08 3:37 

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.