client -server interaction over XML supporting multiple protocols

From: rdh (rohit.dhamija_at_gmail.com)
Date: 03/01/05


Date: 28 Feb 2005 21:54:12 -0800

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.
ALSO, ALL THE INTERACTION WILL BE MADE OVER XML.

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



Relevant Pages

  • Re: SBS 2003 - VPN - IPX Configuration
    ... Did you add that protocol to the server and the clients? ... > We have an older client/server product that requires the protocol. ... fine on any windows LAN with ipx/spx installed (No Novell Server). ... >> IPX portion of the VPN clients connection. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: I want my MOM
    ... >> 5) Require that the header MUST have the content-length ... >> again slam the server with never ending data until it dies. ... server to have a reason to boot bad clients. ... Another thing a pre-sized protocol does is make it much harder to have ...
    (comp.lang.ruby)
  • Re: OT: Vista
    ... Both would need to have a protocol service running to ... creates a package to send to the SMTP server. ... from the receiving server on to a client on that network. ... the two clients are communicating. ...
    (rec.boats)
  • Re: Server/Clients system
    ... What I want to do is have a server that resides ... Then these 2 clients will ask the server for another file ... reimplementing as much of the protocol as you desire. ... to make many transfers every minute, can BitTorrent do this? ...
    (comp.lang.perl.misc)
  • Re: OT: Vista
    ... Both would need to have a protocol service running to ... creates a package to send to the SMTP server. ... then sent from the receiving server on to a client on that network. ... the two clients are communicating. ...
    (rec.boats)