Hello,
I am currently using the Delphi TServerSocket to just sit and listen for
data from a number of clients. I have an array of strings into which the
data from each client is stored and subsequently processed. I know that over
the years that Delphi has removed some of the functionality from the
> What I am wondering is would I be better off using one of the ICS
> socket components for this. Maybe TWSocket or TWSocketServer.
The latter.
> If so, what is the best demo to show how these components are used
OverbyteIcsTcpSrv.dpr is the main socket server demo, which works with
OverbyteIc
Thanks,
I think the OverbyteIcsTcpSrv.dpr demo shows everything I need to start
experimenting.
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.
Graham
-Original Message-
From: TWSocket [mailto:twsocket
> 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.
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 Ang
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 n
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
Ah, lousy data handling ;)
Well, since you already had something working, I assume you'll figure it
out :)
Merijn
On 8-10-2013 13:43, Graham Powell wrote:
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 ack
> 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.
If your XML me
Hello,
what's the best solution for the following scenario:
1. some network device answers on an UDP packet to some specific port
(not matter what the packet contains)
2. by looking at the answer packet I can learn the IP of that device
3. I send UDP packets with a target address of 255.255.25
10 matches
Mail list logo