Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disabling Copy/Paste in CEdit control Pin
flippydeflippydebop7-Jun-07 23:53
flippydeflippydebop7-Jun-07 23:53 
GeneralRe: Disabling Copy/Paste in CEdit control Pin
Hamid_RT8-Jun-07 3:59
Hamid_RT8-Jun-07 3:59 
QuestionRetreiving Text Pin
arun kumar kk7-Jun-07 21:12
arun kumar kk7-Jun-07 21:12 
AnswerRe: Retreiving Text Pin
Hamid_RT7-Jun-07 21:33
Hamid_RT7-Jun-07 21:33 
Questionlogin name Pin
Jhony george7-Jun-07 21:10
Jhony george7-Jun-07 21:10 
AnswerRe: login name Pin
arun kumar kk7-Jun-07 21:14
arun kumar kk7-Jun-07 21:14 
GeneralRe: login name Pin
Jhony george7-Jun-07 21:35
Jhony george7-Jun-07 21:35 
GeneralRe: login name Pin
arun kumar kk7-Jun-07 23:18
arun kumar kk7-Jun-07 23:18 
You r listening on a socket. When a connection request arrives you are allocating another socket object for further communication. So in case of multiple users you can create an array of socket objects. as you know array elements required an index for referring it. So when a client need to connect to your server it will send a login name , which may be predefined, i think.
you can verify the login name and then you have to allocate a new socket object corresponding to that request. Now you have to keep an index number corresponding to the login name which should be assigned dynamically. Using this index you can refer the socket which is assigned to the user.

I think this is the simple method. for some technical reason i can't provide the code

try to resolve the problem

regards

arunSmile | :)
GeneralRe: login name Pin
Jhony george7-Jun-07 23:50
Jhony george7-Jun-07 23:50 
Questionreference for character input control Pin
sonavi7-Jun-07 20:05
sonavi7-Jun-07 20:05 
QuestionRe: reference for character input control Pin
Rajkumar R7-Jun-07 21:34
Rajkumar R7-Jun-07 21:34 
AnswerRe: reference for character input control Pin
sonavi7-Jun-07 22:53
sonavi7-Jun-07 22:53 
Questionreturn a map from a function Pin
TobetheWinner7-Jun-07 19:52
TobetheWinner7-Jun-07 19:52 
AnswerRe: return a map from a function Pin
TobetheWinner7-Jun-07 19:54
TobetheWinner7-Jun-07 19:54 
GeneralRe: return a map from a function Pin
Rajkumar R7-Jun-07 19:58
Rajkumar R7-Jun-07 19:58 
QuestionRe: return a map from a function Pin
David Crow8-Jun-07 2:24
David Crow8-Jun-07 2:24 
AnswerRe: return a map from a function Pin
Rajkumar R7-Jun-07 19:55
Rajkumar R7-Jun-07 19:55 
AnswerRe: return a map from a function Pin
Michael Dunn7-Jun-07 19:57
sitebuilderMichael Dunn7-Jun-07 19:57 
AnswerRe: return a map from a function Pin
Hamid_RT7-Jun-07 21:04
Hamid_RT7-Jun-07 21:04 
Questionmoving dialog to system tray Pin
rajeevktripathi7-Jun-07 19:31
rajeevktripathi7-Jun-07 19:31 
AnswerRe: moving dialog to system tray Pin
Hamid_RT7-Jun-07 21:22
Hamid_RT7-Jun-07 21:22 
QuestionExtended Style not shown Pin
Chilli717-Jun-07 18:39
Chilli717-Jun-07 18:39 
AnswerRe: Extended Style not shown Pin
Stephen Hewitt7-Jun-07 19:00
Stephen Hewitt7-Jun-07 19:00 
GeneralRe: Extended Style not shown Pin
Chilli717-Jun-07 19:52
Chilli717-Jun-07 19:52 
Questionpls help me Pin
saisp7-Jun-07 18:18
saisp7-Jun-07 18:18 

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.