Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Francois Piette
riginal Message - From: "Johnnie Norsworthy" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 01, 2006 9:26 PM Subject: [twsocket] Converting from Indy - UDP Send - DNS caching > I am converting a small remote logging project from Indy to ICS that > sends UDP packets. Following

Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Dan
lf Of Johnnie Norsworthy Sent: 01 August 2006 21:03 To: ICS support mailing Subject: Re: [twsocket] Converting from Indy - UDP Send - DNS caching On 8/1/06, Dan <[EMAIL PROTECTED]> wrote: > Why not open the socket at the start, then just call WSocket.SendStr when > you want to send someth

Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Johnnie Norsworthy
On 8/1/06, Dan <[EMAIL PROTECTED]> wrote: > Why not open the socket at the start, then just call WSocket.SendStr when > you want to send something. I thought by leaving it open it might cause disconnection problems. Can I just leave it open all the time and call Send() as needed. It may be hours be

Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Dan
Johnnie Norsworthy Sent: 01 August 2006 20:26 To: twsocket@elists.org Subject: [twsocket] Converting from Indy - UDP Send - DNS caching I am converting a small remote logging project from Indy to ICS that sends UDP packets. Following the example in UDPSend1.pas, I do the following when I wish to send

[twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Johnnie Norsworthy
I am converting a small remote logging project from Indy to ICS that sends UDP packets. Following the example in UDPSend1.pas, I do the following when I wish to send my string: WSocket.Proto := 'udp'; WSocket.Addr := 'mydomain.com'; WSocket.Port := '12007'; WSocket.Connect; WSocket.Sen