Click here to Skip to main content
12,623,903 members (30,329 online)

C / C++ / MFC

 
AnswerRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 22:37
mvpRichard MacCutchan25-Sep-13 22:37 
GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 22:45
memberbosfan25-Sep-13 22:45 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 23:03
mvpRichard MacCutchan25-Sep-13 23:03 
GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 23:32
memberbosfan25-Sep-13 23:32 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 23:45
mvpRichard MacCutchan25-Sep-13 23:45 
GeneralRe: CRegKey read from registry? Pin
bosfan26-Sep-13 21:42
memberbosfan26-Sep-13 21:42 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan26-Sep-13 22:30
mvpRichard MacCutchan26-Sep-13 22:30 
QuestionSocket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 1:47
membermanoharbalu25-Sep-13 1:47 
I have a client and server MFC applications that uses CSocket. The Server exchanges data with the client 1 through port 1500.

I want to create a new client application entirely different from client 1 which needs to connect to the server but needs entirely different data than that of client 1 which already connects to the Server in Port 1500.

Please suggest me some technical details in terms of port and way of establishing a unique connection with the server.

In case If I connect the 2 clients to the same port where the server is listening, how can I know from the Server code that application (client 1) is requesting a connection and client 2 is requesting a connection.

Please let me know how can I distinguish applications(clients) from Server side?
AnswerRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 2:01
mvpRichard MacCutchan25-Sep-13 2:01 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 3:24
membermanoharbalu25-Sep-13 3:24 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 3:59
mvpRichard MacCutchan25-Sep-13 3:59 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 20:12
membermanoharbalu25-Sep-13 20:12 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 22:28
mvpRichard MacCutchan25-Sep-13 22:28 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 23:11
membermanoharbalu25-Sep-13 23:11 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 23:21
mvpRichard MacCutchan25-Sep-13 23:21 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu26-Sep-13 4:36
membermanoharbalu26-Sep-13 4:36 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan26-Sep-13 5:20
mvpRichard MacCutchan26-Sep-13 5:20 
GeneralRe: Socket Communication - Server with 2 different clients Pin
koll060425-Sep-13 17:17
memberkoll060425-Sep-13 17:17 
AnswerRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 22:17
mvpRichard MacCutchan25-Sep-13 22:17 
AnswerRe: Socket Communication - Server with 2 different clients Pin
Malli_S25-Sep-13 3:24
memberMalli_S25-Sep-13 3:24 
QuestionClarification regarding the function CAsyncSocket::GetPeerName() Pin
manoharbalu25-Sep-13 1:14
membermanoharbalu25-Sep-13 1:14 
AnswerRe: Clarification regarding the function CAsyncSocket::GetPeerName() Pin
Richard MacCutchan25-Sep-13 1:22
mvpRichard MacCutchan25-Sep-13 1:22 
GeneralRe: Clarification regarding the function CAsyncSocket::GetPeerName() Pin
manoharbalu25-Sep-13 1:48
membermanoharbalu25-Sep-13 1:48 
Questionset the version Pin
koll060425-Sep-13 0:29
memberkoll060425-Sep-13 0:29 
AnswerRe: set the version Pin
Richard MacCutchan25-Sep-13 1:23
mvpRichard MacCutchan25-Sep-13 1: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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 2 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid