Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating buttons and CRect Pin
bcemick1-Mar-05 3:06
bcemick1-Mar-05 3:06 
GeneralRe: Hidocuments based application Pin
PJ Arends28-Feb-05 10:15
professionalPJ Arends28-Feb-05 10:15 
QuestionRuntime Error! - pure virtual function call? Pin
Antony M Kancidrowski28-Feb-05 2:59
Antony M Kancidrowski28-Feb-05 2:59 
AnswerRe: Runtime Error! - pure virtual function call? Pin
Jay Carter28-Feb-05 3:13
Jay Carter28-Feb-05 3:13 
GeneralRe: Runtime Error! - pure virtual function call? Pin
Antony M Kancidrowski28-Feb-05 3:29
Antony M Kancidrowski28-Feb-05 3:29 
GeneralToolbars with Dropdown Menus Pin
Jay Carter28-Feb-05 2:33
Jay Carter28-Feb-05 2:33 
GeneralHide the selection in CTreeCtrl (the blue color) Pin
anderslundsgard28-Feb-05 1:56
anderslundsgard28-Feb-05 1:56 
Generaldeveloping Server,, protocol independent! Pin
rdhamija28-Feb-05 1:56
rdhamija28-Feb-05 1:56 
Hi all,

I am in process of developing a Server in C++ supporting multiple protocols. The server will be exposing various functionalities, and the clients can communicate over any of the protocols may be TCP, IPX, SAP, NETBEUI to access the server to access the functionalities exposed. The server doesnot know in advance which client is using what protocol.

example my server has functionality X()

and i have n number of client.
client1 is communicating over protocol TCP to access X()
client2 is communicating over protocol IPX to access X()

..
and so on.


We had already developed ( prepared a rough code sketch), a server that is able to handle multiple clients at the same time over TCP /IP. But now, we need to enhance the same so that it can intearct with clients irrespective of the protocol being used.

I am struck with following issue:

1) How to make the client-server flow so that the server knows from which protocol the client has communicated so that the server can send the reply over the same protocol and this whole process is multithreaded.

What all steps are needed to take care of while building the system most efficient.

In summary
need to make server in such a way that it may accept a request from connection oriented protocol as well as connection-less protocol at the same time. so need to develop a mechanism for the same the work for all conditions.

Please suggest. Also please feel free to send your comments/suggestions to make this system more efficient.

All suggestions are welcome.

Thanks,
rdh

GeneralRe: developing Server,, protocol independent! Pin
Tom Wright28-Feb-05 10:36
Tom Wright28-Feb-05 10:36 
QuestionHelp me to create connection in My Network Places? Pin
Chuaaico28-Feb-05 0:50
Chuaaico28-Feb-05 0:50 
AnswerRe: Help me to create connection in My Network Places? Pin
David Crow28-Feb-05 2:51
David Crow28-Feb-05 2:51 
GeneralRe: Help me to create connection in My Network Places? Pin
Chuaaico6-Mar-05 18:08
Chuaaico6-Mar-05 18:08 
GeneralRe: Help me to create connection in My Network Places? Pin
David Crow7-Mar-05 3:17
David Crow7-Mar-05 3:17 
GeneralRe: Help me to create connection in My Network Places? Pin
Chuaaico7-Mar-05 21:00
Chuaaico7-Mar-05 21:00 
GeneralRe: Help me to create connection in My Network Places? Pin
David Crow8-Mar-05 2:28
David Crow8-Mar-05 2:28 
GeneralRe: Help me to create connection in My Network Places? Pin
Ngo Thang Long28-Apr-05 21:37
Ngo Thang Long28-Apr-05 21:37 
QuestionCListControl - SetSel command? Pin
IlanTal28-Feb-05 0:47
IlanTal28-Feb-05 0:47 
AnswerRe: CListControl - SetSel command? Pin
Antony M Kancidrowski28-Feb-05 1:08
Antony M Kancidrowski28-Feb-05 1:08 
GeneralRe: CListControl - SetSel command? Pin
IlanTal28-Feb-05 1:19
IlanTal28-Feb-05 1:19 
Questionhow to create dynamic controls depends on the input configuration given Pin
itjalal28-Feb-05 0:42
itjalal28-Feb-05 0:42 
Questionself update exe? Pin
ThinkingPrometheus28-Feb-05 0:33
ThinkingPrometheus28-Feb-05 0:33 
AnswerRe: self update exe? Pin
David Crow28-Feb-05 2:57
David Crow28-Feb-05 2:57 
GeneralRe: self update exe? Pin
scott sanders28-Feb-05 4:16
scott sanders28-Feb-05 4:16 
GeneralStrange Windows Messages (0x0000c0d1) Pin
Onni Qvickström28-Feb-05 0:19
sussOnni Qvickström28-Feb-05 0:19 
GeneralRe: Strange Windows Messages (0x0000c0d1) Pin
Mike Dimmick28-Feb-05 6:15
Mike Dimmick28-Feb-05 6:15 

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.