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

C / C++ / MFC

 
GeneralRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
glitteringsound5-Apr-10 3:03
glitteringsound5-Apr-10 3:03 
GeneralRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
enhzflep5-Apr-10 3:28
enhzflep5-Apr-10 3:28 
AnswerRe: Need to get .obj file names of Executable(which one is crrently executing) at runtime programatically in VC++? Pin
Chris Meech5-Apr-10 4:54
Chris Meech5-Apr-10 4:54 
Questionlocalization issue Pin
Member 5903105-Apr-10 0:14
Member 5903105-Apr-10 0:14 
QuestionCListCtrl SortGroups by name Pin
Abinash Mohanty4-Apr-10 23:14
Abinash Mohanty4-Apr-10 23:14 
AnswerRe: CListCtrl SortGroups by name Pin
David Crow2-Jan-11 15:01
David Crow2-Jan-11 15:01 
QuestionC++ socket and thread [modified] Pin
canard294-Apr-10 22:29
canard294-Apr-10 22:29 
AnswerRe: C++ socket and thread Pin
Moak4-Apr-10 23:29
Moak4-Apr-10 23:29 
Hi, from what I can see the socket is not doing anything or you did not post the full code. The server socket never calls listen or accept. Maybe you could provide us more information? In a nutshell there a three possible designs for a server: your server handles one client at a time (example), uses asynchronous I/O (multiple connections in a single thread context) or uses multi threading (one connection per thread).

Here are some links that might come helpful:

- Internet / Network - CodeProject[^]
- Beej's guide to networking programming[^]
- Winsock Programmer's FAQ[^]

Last two have working client/server examples in section 6. Hope it helps Smile | :)
/M

Webchat in Europe Java | [Coffee] Now with 26% more Twitter


modified on Monday, April 5, 2010 5:40 AM

GeneralRe: C++ socket and thread Pin
canard295-Apr-10 2:14
canard295-Apr-10 2:14 
GeneralRe: C++ socket and thread Pin
Moak5-Apr-10 3:04
Moak5-Apr-10 3:04 
GeneralRe: C++ socket and thread Pin
canard295-Apr-10 4:47
canard295-Apr-10 4:47 
GeneralRe: C++ socket and thread Pin
Moak5-Apr-10 8:25
Moak5-Apr-10 8:25 
QuestionListview row color Pin
arun_pk4-Apr-10 22:26
arun_pk4-Apr-10 22:26 
AnswerRe: Listview row color Pin
Code-o-mat5-Apr-10 0:30
Code-o-mat5-Apr-10 0:30 
AnswerRe: Listview row color Pin
Rolf Kristensen12-Apr-10 9:33
Rolf Kristensen12-Apr-10 9:33 
Questionerror C2440 Pin
MsmVc4-Apr-10 21:28
MsmVc4-Apr-10 21:28 
AnswerRe: error C2440 Pin
Adam Roderick J4-Apr-10 21:35
Adam Roderick J4-Apr-10 21:35 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 21:55
MsmVc4-Apr-10 21:55 
GeneralRe: error C2440 Pin
Adam Roderick J4-Apr-10 22:00
Adam Roderick J4-Apr-10 22:00 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 22:06
MsmVc4-Apr-10 22:06 
GeneralRe: error C2440 Pin
Adam Roderick J4-Apr-10 22:21
Adam Roderick J4-Apr-10 22:21 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 22:31
MsmVc4-Apr-10 22:31 
GeneralRe: error C2440 Pin
Game-point4-Apr-10 22:45
Game-point4-Apr-10 22:45 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 23:11
MsmVc4-Apr-10 23:11 
GeneralRe: error C2440 Pin
Emilio Garavaglia5-Apr-10 21:04
Emilio Garavaglia5-Apr-10 21:04 

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.