How the messages are sent to me is out of my control. But the client will
not send me another message until the previous one has been acknowledged. If
I don't respond at all the client will timeout, close the socket connection,
re-open it and send the original message again.

Graham

-----Original Message-----
From: Merijn Bosma [mailto:bo...@xs4all.nl] 
Sent: 08 October 2013 12:18
To: ICS support mailing
Cc: Graham Powell
Subject: Re: [twsocket] Delphi TServerSocket vs ICS equivalent

Do you have good separation between the different XML blocks on data level?

Merijn

On 8-10-2013 13:14, Graham Powell wrote:
> XML data will be received. After I have processed it, I will need to 
> send an XML message back (containing ACK or NACK) to the client.
> Looks like LineMode=false is what I need.
>
> Thanks again
> Graham
>
> -----Original Message-----
> From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of 
> Angus Robertson - Magenta Systems Ltd
> Sent: 08 October 2013 12:04
> To: twsocket@lists.elists.org
> Subject: Re: [twsocket] Delphi TServerSocket vs ICS equivalent
>
>> I assume I can set the component not to filter anything incoming. I 
>> will be receiving shed loads of XML type data with CR LFs optional.
> The two main decisions using TSocketServer are whether to send a 
> banner on answer (which upsets many clients) and whether to use 
> LineMode to receive data.
>
>
> LineMode=true is for short line oriented protocols and is easy to 
> implement, but you receive nothing until a LineEnd (defaults to CRLF) 
> appears.  So LineMode=false is safer and you receive random sized 
> buffers which you process as you wish.
>
> Angus
>
> --
> To unsubscribe or change your settings for TWSocket mailing list 
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to