One server - multiple client types

47 views
Skip to first unread message

Norbert Lange

unread,
Feb 10, 2014, 4:18:45 AM2/10/14
to quick...@googlegroups.com
Hello,

I have the following challenge:

I have to build a server for two client types.
Client can be TCP (socket communication) and HTTP 1.1, both with xml data.

Clients and server run inside our house on different systems, we will have two TCP clients and three HTTP clients.
xml structure is different from all clients, but business logic behind can be the same.

Now i try to find out, if I can use quickserver.
Is it possible to build only ONE server with quickserver project?

Thank you
Norbert





Akshath

unread,
Feb 11, 2014, 12:01:03 PM2/11/14
to quick...@googlegroups.com
Yes, you can use one quickserver instance to do this. 

Just use Byte or Binary data mode and after the client connects.. use the first few bytes received to identify the communication type and then process the requests accordingly.. 
Reply all
Reply to author
Forward
0 new messages