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

C / C++ / MFC

 
AnswerRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 21:37
mveRichard MacCutchan25-Sep-13 21:37 
GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 21:45
bosfan25-Sep-13 21:45 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 22:03
mveRichard MacCutchan25-Sep-13 22:03 
GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 22:32
bosfan25-Sep-13 22:32 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 22:45
mveRichard MacCutchan25-Sep-13 22:45 
GeneralRe: CRegKey read from registry? Pin
bosfan26-Sep-13 20:42
bosfan26-Sep-13 20:42 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan26-Sep-13 21:30
mveRichard MacCutchan26-Sep-13 21:30 
QuestionSocket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 0:47
manoharbalu25-Sep-13 0: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 1:01
mveRichard MacCutchan25-Sep-13 1:01 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 2:24
manoharbalu25-Sep-13 2:24 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 2:59
mveRichard MacCutchan25-Sep-13 2:59 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 19:12
manoharbalu25-Sep-13 19:12 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 21:28
mveRichard MacCutchan25-Sep-13 21:28 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu25-Sep-13 22:11
manoharbalu25-Sep-13 22:11 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 22:21
mveRichard MacCutchan25-Sep-13 22:21 
GeneralRe: Socket Communication - Server with 2 different clients Pin
manoharbalu26-Sep-13 3:36
manoharbalu26-Sep-13 3:36 
GeneralRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan26-Sep-13 4:20
mveRichard MacCutchan26-Sep-13 4:20 
GeneralRe: Socket Communication - Server with 2 different clients Pin
koll Zhu25-Sep-13 16:17
koll Zhu25-Sep-13 16:17 
AnswerRe: Socket Communication - Server with 2 different clients Pin
Richard MacCutchan25-Sep-13 21:17
mveRichard MacCutchan25-Sep-13 21:17 
AnswerRe: Socket Communication - Server with 2 different clients Pin
Malli_S25-Sep-13 2:24
Malli_S25-Sep-13 2:24 
QuestionClarification regarding the function CAsyncSocket::GetPeerName() Pin
manoharbalu25-Sep-13 0:14
manoharbalu25-Sep-13 0:14 
AnswerRe: Clarification regarding the function CAsyncSocket::GetPeerName() Pin
Richard MacCutchan25-Sep-13 0:22
mveRichard MacCutchan25-Sep-13 0:22 
GeneralRe: Clarification regarding the function CAsyncSocket::GetPeerName() Pin
manoharbalu25-Sep-13 0:48
manoharbalu25-Sep-13 0:48 
Questionset the version Pin
koll Zhu24-Sep-13 23:29
koll Zhu24-Sep-13 23:29 
AnswerRe: set the version Pin
Richard MacCutchan25-Sep-13 0:23
mveRichard MacCutchan25-Sep-13 0: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.