Re: Exchanging information
- From: Haggis McMutton <haggis@xxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 09:48:48 GMT
On Fri, 27 Jul 2007 22:42:16 -0700, Mark Space wrote:
Haggis McMutton wrote:
I'm writing a distributed application which includes one server and many
clients that will be exchanging data.
I've made my own crude protocol that uses sockets and simply puts data on
single lines separated by new line characters.
I want to extend this to something a bit more advanced. I was thinking of
using XML but someone said I should use SOAP, but that uses HTTP which
seems to complicate things. Any ideas on the best way to do this?
Serializing objects over a socket should work much the same as sending
lines with a newline at the end. Might be the easiest solution being
the closest to a drop in replacement.
I should mention that I'm very likely to want to write the client in a
different language in the future so I need a way of doing it that can
easily be done in other languages. I can't be Java specific.
Query: why change it if it's working now?
Because I want to expand on it, and I think it would be a lot more work
and more prone to error if I carry on writing my own protocol.
.
- Follow-Ups:
- Re: Exchanging information
- From: Roedy Green
- Re: Exchanging information
- From: Mark Space
- Re: Exchanging information
- References:
- Exchanging information
- From: Haggis McMutton
- Re: Exchanging information
- From: Mark Space
- Exchanging information
- Prev by Date: Re: Is there a better way to do this?
- Next by Date: Re: [List handling]number of occurences
- Previous by thread: Re: Exchanging information
- Next by thread: Re: Exchanging information
- Index(es):
Relevant Pages
|
|