in reply to How to transmit complex data to client?
Ok. I would take that to mean that that you have implemented a server using TCP/IP. You have used Perl as an implementation language at the server end. That is fine.
The server gets a "key" and then replies back with a "value".
I have no idea of what the server should send based upon what the client sent - that's a server spec.
The client requests (sends a question) and expects complex data from the server (gets an answer). The client is expected to be able to understand the response from the server to its question.
Or should I use multi process or threads? Whoa! A client server is already at least multi-process or multi-thread.
Sounds like you not have a working TCP/IP server.
Explain more what you are trying to do and I'm sure you will get help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to transmit complex data to client?
by JavaFan (Canon) on Aug 29, 2011 at 11:03 UTC | |
by Marshall (Canon) on Aug 29, 2011 at 12:11 UTC | |
by JavaFan (Canon) on Aug 29, 2011 at 14:57 UTC | |
by zwon (Abbot) on Aug 29, 2011 at 14:35 UTC |