[twsocket] Problem with streaming...

2008-10-22 Thread Ja
Hello,
I'm trying to stream data to server that would respond in real time for 
different requests. It does send all the data but there seems to be problem 
with response... sometimes i get the response, sometimes not... even when 
firewall says that some data (not all) have been rcved (about 18kB!!), it 
doesnt 'detect' it in application. Any idea what the problem could be?
Best regards,
FlashT
-- 
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


Re: [twsocket] Problem with streaming...

2008-10-22 Thread Ja
When It stucks, It's always on 18.2KB, using SSLWSocket. But none of this data 
is being shown in buffer... :/


Dnia 22 października 2008 16:19 Ja [EMAIL PROTECTED] napisał(a):

 Hello,
 I'm trying to stream data to server that would respond in real time for 
 different requests. It does send all the data but there seems to be problem 
 with response... sometimes i get the response, sometimes not... even when 
 firewall says that some data (not all) have been rcved (about 18kB!!), it 
 doesnt 'detect' it in application. Any idea what the problem could be?
 Best regards,
 FlashT
 -- 
 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

[twsocket] WSocket instant shutdown...

2008-10-19 Thread Ja
Hello,
How do I shutdown socket instantly to PREVENT it from SENDING data that have 
been already buffed to send (by sendstr)? As I read in comments to 
wsocket.pas, ShutDown(1) or ShutDown(2) do send that data before shutdown...
Best regards,
FlashT
-- 
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


[twsocket] ICS and CLX?

2008-09-25 Thread Ja
Hi,
Any way to make ICS CLX compatible? I need to run some application on unix 
(using SSLWSocket)...
Best regards,
FlashT
-- 
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


Re: [twsocket] ICS and CLX?

2008-09-25 Thread Ja
Well... too bad because I have no idea how :(


Dnia 25 września 2008 20:13 Francois PIETTE [EMAIL PROTECTED] napisał(a):

  Any way to make ICS CLX compatible?
  I need to run some application on unix (using SSLWSocket)...
 
 You can probably use the Kylix version available from my website altough no 
 SSL interface in that version. You could try to adapt ICS-SSL Windows 
 version which is now free.
 
 --
 [EMAIL PROTECTED]
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 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
 
-- 
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

Re: [twsocket] ICS and CLX?

2008-09-25 Thread Ja
Indy works fine :) Except... SSL.


Dnia 25 września 2008 23:57 Erich Kuba [EMAIL PROTECTED] napisał(a):

 Mate, you're better off using Synapse under Linux.  I tried for many 
 months to get ICS working under Linux, but it's really buggy and there 
 is little to no interest in fixing it.  Under Windows, ICS is my choice, 
 but not Linux.  Also, Kylix is dead.  I use Synapse under Lazarus for 
 all my Linux work.
 
 Cheers
 
 Erich
 
 Francois PIETTE wrote:
  Well... too bad because I have no idea how :(
  
 
  Another approach would develop your application using Delphi.win32 and run 
  it under Linux using WINE, the win32 emulator.
 
  --
  [EMAIL PROTECTED]
  The author of the freeware multi-tier middleware MidWare
  The author of the freeware Internet Component Suite (ICS)
  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
 
-- 
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

[twsocket] WSocket - how to use Socks Proxy?

2008-09-12 Thread Ja
Hi,
Could anybody tell me how do I use Socks Proxy in WSocket component?
Best regards,
FlashT
-- 
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


[twsocket] TCP Window Size

2008-09-01 Thread Ja
Hi,
Is there any way to set my own TCP window size flags in WSocket sent packets?
Best regards,
FlashT
-- 
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


Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Ja
How do I work in blocking mode?


Dnia 29 sierpnia 2008 23:52 Paul [EMAIL PROTECTED] napisał(a):

 Your thread needs a message pump, unless you work in blocking mode.
 
 Paul
 
 
 
 - Original Message - 
 From: Ja 
 To: 
 Sent: Friday, August 29, 2008 11:27 PM
 Subject: [twsocket] Using WSocket in thread...
 
 
  Hello,
  I'm trying to convert demo of SSL socket to make it in thread but there 
  seems to be something wrong... I think that On* events are not being run 
  at all...
 
  http://phpfi.com/348552
 
  Full source:
  http://zycie.org/SSLTHREADED.rar
 
  Could anybody help me with that?
  Best regards,
  FlashT
  -- 
  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
 
-- 
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

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Ja
Ok then, I really need it to be in thread, so what do I do to make my code work?


Dnia 30 sierpnia 2008 9:18 Arno Garrels [EMAIL PROTECTED] napisał(a):

 Ja wrote:
  How do I work in blocking mode?
 
 ICS works non-blocking: 
 http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
 Even though some upper level components support blocking mode as well 
 it's suggested to work asynchronous.
 
 --
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
 
 -- 
 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

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Ja
Thank you.
WSocket1.MessageLoop; works great.
Best regards,
FlashT


Dnia 30 sierpnia 2008 9:49 Arno Garrels [EMAIL PROTECTED] napisał(a):

 Ja wrote:
  Ok then, I really need it to be in thread, so what do I do to make my
  code work?
 
 At first read this: 
  http://wiki.overbyte.be/wiki/index.php/FAQ.MultiThreading
 
 If you still believe you have to run TWSocket in a thread you
 need a message loop (as Paul pointed out).
 
 Something like:
 
 procedure TMyThread.Execute;
 begin
WSocket1  := TWSocket.Create(nil);
try
 Assign event handlers and properties..
  WSocket1.Connect;
 // Start the message loop, post WM_QUIT message latert to break 
 the loop. 
  WSocket1.MessageLoop;
   finally
  WSocket1.Free;  
  end;
 end; 
 
 OpenSSL in a multi-threaded application you also requires use of
 one of the components from OverbyteIcsSslThrdLock.pas, otherwise
 OpenSSL libraries won't be thread-safe, read the comment section of
 that unit. 
 
 --
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
 
 
 
  
  
  Dnia 30 sierpnia 2008 9:18 Arno Garrels 
  napisał(a): 
  
  Ja wrote:
  How do I work in blocking mode?
  
  ICS works non-blocking:
  http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm Even
  though some upper level components support blocking mode as well 
  it's suggested to work asynchronous.
  
  --
  Arno Garrels [TeamICS]
  http://www.overbyte.be/eng/overbyte/teamics.html
  
  --
  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
-- 
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

[twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Ja
Hi,

I was just programming my application, it compiled fine, everything was ok, but 
suddenly it stopped to be compalible... I didn't change anything in code, wth 
is going on? Even example isnt working... it says:

[Error] Unit1.pas(11): Undeclared identifier: 'TSslWSocket'
[Error] Unit1.pas(11): Published field 'SslWSocket1' not a class nor interface 
type

Why is that???
I do have conditional defines set to USE_SSL ...

I'm getting crazy, My application was almost finished and suddenly BAM, it cant 
find TSsslWSocket... and any other SSL connected things... HELP!

Best regards,
FlashT
-- 
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


Re: [twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Ja
Dnia 30 sierpnia 2008 13:50 Arno Garrels [EMAIL PROTECTED] napisał(a):

 
 That happens sometimes, no big deal :) 
 Have you tried Rebuild all projects instead of Compile..?
 Also, it might help to set compiler directive {$IMPLICITBUILD OFF}
 in ICS package DPR file which equals option Explicit rebuild  
 in package project options.  
 

Well... I consider it as bug, but noticed that when you hit Play button 
instead of ProjectBuild, everything works fine... but when u go to 
ProjectBuild then it happens instantly and u have to rebuild whole ICS and 
restart Delphi...


-- 
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

[twsocket] Using WSocket in thread...

2008-08-29 Thread Ja
Hello,
I'm trying to convert demo of SSL socket to make it in thread but there seems 
to be something wrong... I think that On* events are not being run at all...

http://phpfi.com/348552

Full source:
http://zycie.org/SSLTHREADED.rar

Could anybody help me with that?
Best regards,
FlashT
-- 
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


[twsocket] THttpCli - what a'?

2006-03-05 Thread Ja
Hi.
I've noticed something weird in THttpCli... When I call abort, it 
runs OnRequestDone procedure, but... errcode = 0 and statuscode = 
200! Why is that? Shouldn't it report somehow that it was aborted?
Ann

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


Re: [twsocket] DNSQuery - bugreport

2006-02-09 Thread Ja
I dont really understand what do you mean :( They are being created 
by main form and are being destroyed by timer on main form. I'm not 
creating separate thread or anything... But maybe its important that 
first error (after running application) is always invalid pointer 
operation. It never occurs at first cycle.

Greetings
Ann

 Wiadomość Oryginalna 
Od: Wilfried Mestdagh [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Thu, 9 Feb 2006 09:22:26 +0100
Temat: Re: [twsocket] DNSQuery - bugreport

 Hi Ann,
 
  Of course TDNSQuery is running in TCP mode and MultiThreaded is 
set
  to True.
 
 Do you execute it in a separate thread context ? Because that can 
be the
 reason of access violation. A component create / destroy should be 
in
 same thread context.
 
 ---
 Rgds, Wilfried [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
 http://www.mestdagh.biz
 
 Wednesday, February 8, 2006, 11:27, Ja wrote:
 
  Hi.
  I've made a bugreports from last 24h... could anybody help me to 
  analyze it?
 
  http://theweed.org/bugreport.txt
 
  What can i say is that bugs started when addeded checking few 
names 
  with DNSQuery component every ... 10 minutes.
 
  How does it work?
  Every 10 minutes TDNSQuery component is being created for each 
  domain. In its tag it has tickcount (in seconds) for timeout. In 
  OnRequestDone every component marks in Listbox the result and 
sets 
  it tag to -1 ... in the meantime timer4 is running... that 
searches 
  for TDNSQuery components on the form, checking if the tag is -1 
or 
  difference between tag and current tick count is more than 30 
  seconds... and destroys it.
 
  I've repaired bug with winsock buffer by changing interval to 10 
  minutes so system could close all sockets.
 
  Of course TDNSQuery is running in TCP mode and MultiThreaded is 
set 
  to True.
 
  Please HELP me.
  Thank you!
  Ann
 
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

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


Re: [twsocket] DNSQuery - bugreport

2006-02-08 Thread Ja
Ok... what can i do about it?

 Wiadomość Oryginalna 
Od: Arno Garrels [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Wed, 8 Feb 2006 21:42:07 +0100
Temat: Re: [twsocket] DNSQuery - bugreport

 Ja wrote:
  Hi.
  I've made a bugreports from last 24h... could anybody help me to
  analyze it?
 
 Looks like FreeMem in the destructor causes the exception.
 
 arno garrels
 
  
  http://theweed.org/bugreport.txt
  
  What can i say is that bugs started when addeded checking few 
names
  with DNSQuery component every ... 10 minutes.
  
  How does it work?
  Every 10 minutes TDNSQuery component is being created for each
  domain. In its tag it has tickcount (in seconds) for timeout. In
  OnRequestDone every component marks in Listbox the result and 
sets
  it tag to -1 ... in the meantime timer4 is running... that 
searches
  for TDNSQuery components on the form, checking if the tag is -1 
or
  difference between tag and current tick count is more than 30
  seconds... and destroys it.
  
  I've repaired bug with winsock buffer by changing interval to 10
  minutes so system could close all sockets.
  
  Of course TDNSQuery is running in TCP mode and MultiThreaded is 
set
  to True.
  
  Please HELP me.
  Thank you!
  Ann
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

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


[twsocket] DNSQuery - what should i free up?

2006-02-07 Thread Ja
Hi.
Got little big problem with DNSQuery... I wrote application that 
frequently checks some domains if their ns records are ok. It just 
creates x DNSQuery components (where x is number of domains) every 5 
minutes and analizes the Lookup results... After finish it uses 
DNSQuery.destroy function. But there is a problem. After 10 hours of 
working DNSQuery starts to report errors ... something like not 
enough buffer space - for sure something about buffer... after 
those errors whole windows screws up. I cant open any new 
application because gettig different errors.
I suppose that im not freeing something... so the question is: what 
should i free up so that wouldnt occur?
Thanx!
Ann

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


Re: [twsocket] DNSQuery - what should i free up?

2006-02-07 Thread Ja
Yes but im sure its connected with DNSQuery... so maybe i just 
should use some implemented function to free up memory used by 
DNSQuery component?

 Wiadomość Oryginalna 
Od: Francois Piette [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Tue, 7 Feb 2006 10:19:44 +0100
Temat: Re: [twsocket] DNSQuery - what should i free up?

 You should use a memory leak checking tool. Like MemProof or 
MemCheck. A little search on Google
 would help you.
 --
 [EMAIL PROTECTED]
 http://www.overbyte.be
 
 
 - Original Message - 
 From: Ja [EMAIL PROTECTED]
 To: twsocket@elists.org
 Sent: Tuesday, February 07, 2006 9:58 AM
 Subject: [twsocket] DNSQuery - what should i free up?
 
 
  Hi.
  Got little big problem with DNSQuery... I wrote application that
  frequently checks some domains if their ns records are ok. It 
just
  creates x DNSQuery components (where x is number of domains) 
every 5
  minutes and analizes the Lookup results... After finish it uses
  DNSQuery.destroy function. But there is a problem. After 10 
hours of
  working DNSQuery starts to report errors ... something like not
  enough buffer space - for sure something about buffer... after
  those errors whole windows screws up. I cant open any new
  application because gettig different errors.
  I suppose that im not freeing something... so the question is: 
what
  should i free up so that wouldnt occur?
  Thanx!
  Ann
 
  -- 
  To unsubscribe or change your settings for TWSocket mailing list
  please goto http://www.elists.org/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

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


Re: [twsocket] DNSQuery - what should i free up?

2006-02-07 Thread Ja
Yes... exaclty that error. But shoudlnt DNSQuery close those sockets 
after reciving response?

 Wiadomość Oryginalna 
Od: Wilfried Mestdagh [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Tue, 7 Feb 2006 11:31:01 +0100
Temat: Re: [twsocket] DNSQuery - what should i free up?

 Hello Ann,
 
 I assume you mean winsock error 10055 (no buffer space available)
 ?
 
 Could be you have a leak, or that some other program has a leak. 
Sockets
 use non pageable RAM witch is very limited and also in use by 
other
 programs. I recall you use DnsQuery with TCP (right?). Closing a 
socket
 leave it a while in TIME_WAIT state. I think it is default 2 
minute, but
 it can be set longer (is registry setting somewhere). So possible 
is
 that your program is eating sockets because of the TIME_WAIT.
 
 Anyway if this is the reason then you can easy find out with 
NETSTAT -a
 to check out.
 
 ---
 Rgds, Wilfried [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
 http://www.mestdagh.biz
 
 Tuesday, February 7, 2006, 09:58, Ja wrote:
 
  Hi.
  Got little big problem with DNSQuery... I wrote application that 
  frequently checks some domains if their ns records are ok. It 
just 
  creates x DNSQuery components (where x is number of domains) 
every 5 
  minutes and analizes the Lookup results... After finish it uses 
  DNSQuery.destroy function. But there is a problem. After 10 
hours of 
  working DNSQuery starts to report errors ... something like not 
  enough buffer space - for sure something about buffer... after 
  those errors whole windows screws up. I cant open any new 
  application because gettig different errors.
  I suppose that im not freeing something... so the question is: 
what 
  should i free up so that wouldnt occur?
  Thanx!
  Ann
 
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

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


[twsocket] IP to host

2006-01-10 Thread Ja
Hi.
How do i change IP to host (domain) ??
Thanx!
Ann

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


Re: [twsocket] DNSQuery BUG...

2006-01-07 Thread Ja
 Please start next time a new subject instead of reply to another 
one and
 change the subject line. You do that every time and your message 
will
 not be seen by many people.
 

Oh... sorry. Didn't know that it matters.

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


Re: [twsocket] DNSQuery BUG...

2006-01-07 Thread Ja

 Wiadomość Oryginalna 
Od: Francois PIETTE [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Sat, 7 Jan 2006 21:23:06 +0100
Temat: Re: [twsocket] DNSQuery BUG...

  Ok. I've managed to make my project to check the list of domains 
for
  hosts but i've noticed that there is something wrong with 
DNSQuery
  component. With some nameservers (like those of my provider)
  DNSQuery sometimes doesnt get any answer... and although 
firewall
  (and netstat) after some time takes connection as closed, 
DNSQuery
  still doesn't start OnRequestDone event...
 
 That's perfectly normal since it use UDP protocol which is an 
unreliable 
 protocol by definition. UDP packets are simply dropped when 
congestion occur 
 on the network. No attempt is done to confirm nor retry anything.
 
 

But I've set protocol to TCP...

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


[twsocket] TDNSQuery problem...

2006-01-06 Thread Ja
Hi.
I'm trying to make application that could get information about 
hosts simultanously for lets say... 10 hosts... I made something 
like this:

-

var newsocket:TDnsQuery;
domain:string;

begin
  newsocket:=TDNSQuery.Create(self);
  newsocket.Addr:='195.117.102.3';
  newsocket.Proto:='tcp';
  newsocket.Port:='53';
  newsocket.OnRequestDone:=DnsQuery1RequestDone;
  readln(plik,domain);
  newsocket.ALookup(domain);
 end;

end;

--

But when im putting in RequestDone:
TDNSQuery(sender).Destroy; access violation occures. Why is that?

Thank you for your help!
Ann.



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


Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Ja
Yes i meant that but... if the error occures i need to know with 
what domain.

 procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; ErrCode: 
Word);
 begin
 if ErrCode = 0 then
 Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList)
 else
 Memo1.Lines.Add('DOMAIN_NAME: Unknown Error!');
 end;

But dont know how to get the domain_name that just have been looked 
up. TWSocket(Sender).addr is empty.


 Wiadomość Oryginalna 
Od: Arno Garrels [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Wed, 4 Jan 2006 16:11:29 +0100
Temat: Re: [twsocket] WSocket DNSLookup.

 Wilfried,
 
 Not sure, but I think he meant this one:
 
 procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; ErrCode: 
Word);
 begin
 if ErrCode = 0 then
 Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList)
 else if ErrCode = 1 then
 Memo1.Lines.Add('Error: ' + WSocketErrorDesc(ErrCode))
 else
 Memo1.Lines.Add('Unknown Error!');
 end;
 
 procedure TForm1.ButtonOKClick(Sender: TObject);
 begin
 WSocket1.DnsLookup('www.adomain.com');
 end;
 
 
  Hello Ja,
  
  I think what you wants is the TDnsQuery component (also in ICS 
package).
  WSocket.DNSLookup resolve a hostname to IP address.
 
 
 
 
  
  ---
  Rgds, Wilfried [TeamICS]
  http://www.overbyte.be/eng/overbyte/teamics.html
  http://www.mestdagh.biz
  
  Tuesday, January 3, 2006, 22:18, Ja wrote:
  
  
   Wiadomosc Oryginalna 
  Od: Wilfried Mestdagh [EMAIL PROTECTED]
  Do: ICS support mailing twsocket@elists.org
  Data: Tue, 3 Jan 2006 22:00:48 +0100
  Temat: Re: [twsocket] WSocket DNSLookup.
  
  Hello Ja,
  
  Is there any way to do a WSocket DNSLookup and OnLookupDone 
get
  adress of host that have been looked up?
  
  I do not understeand the question. CAn you please rephrase it 
?
  
  
  I wouldlike to lookup some hosts ( with WSocket.
DnsLookup($domain) )
  , and at the end add a results to memo, but... when there is no
  result (for example domain doesnt exist) i would like to add 
text
  $domain doesnt exist! ... but have no idea how do i get 
$domain
  string in OnLookupDone event...
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

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


Re: [twsocket] WSocket DNSLookup.

2006-01-04 Thread Ja
Program check list of domains with several components at once... 
putting something in woudldnt do the job.

 Wiadomość Oryginalna 
Od: Arno Garrels [EMAIL PROTECTED]
Do: ICS support mailing twsocket@elists.org
Data: Wed, 4 Jan 2006 16:38:51 +0100
Temat: Re: [twsocket] WSocket DNSLookup.

 Ja wrote:
  Yes i meant that but... if the error occures i need to know with
  what domain.
  
  procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; 
ErrCode: Word);
  begin
  if ErrCode = 0 then
  Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList)
  else
  Memo1.Lines.Add('DOMAIN_NAME: Unknown Error!');
  end;
  
  But dont know how to get the domain_name that just have been 
looked
  up. TWSocket(Sender).addr is empty.
 
 Why don't you put something in?
 
 ---
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
 
  
  
   Wiadomosc Oryginalna 
  Od: Arno Garrels [EMAIL PROTECTED]
  Do: ICS support mailing twsocket@elists.org
  Data: Wed, 4 Jan 2006 16:11:29 +0100
  Temat: Re: [twsocket] WSocket DNSLookup.
  
  Wilfried,
  
  Not sure, but I think he meant this one:
  
  procedure TForm1.WSocket1DnsLookupDone(Sender: TObject; 
ErrCode: Word);
  begin
  if ErrCode = 0 then
  Memo1.Lines.AddStrings(TWSocket(Sender).DnsResultList)
  else if ErrCode = 1 then
  Memo1.Lines.Add('Error: ' + WSocketErrorDesc(ErrCode))
  else
  Memo1.Lines.Add('Unknown Error!');
  end;
  
  procedure TForm1.ButtonOKClick(Sender: TObject);
  begin
  WSocket1.DnsLookup('www.adomain.com');
  end;
  
  
  Hello Ja,
  
  I think what you wants is the TDnsQuery component (also in ICS 
package).
  WSocket.DNSLookup resolve a hostname to IP address.
  
  
  
  
  
  ---
  Rgds, Wilfried [TeamICS]
  http://www.overbyte.be/eng/overbyte/teamics.html
  http://www.mestdagh.biz
  
  Tuesday, January 3, 2006, 22:18, Ja wrote:
  
  
   Wiadomosc Oryginalna 
  Od: Wilfried Mestdagh [EMAIL PROTECTED]
  Do: ICS support mailing twsocket@elists.org
  Data: Tue, 3 Jan 2006 22:00:48 +0100
  Temat: Re: [twsocket] WSocket DNSLookup.
  
  Hello Ja,
  
  Is there any way to do a WSocket DNSLookup and OnLookupDone
  get
  adress of host that have been looked up?
  
  I do not understeand the question. CAn you please rephrase 
it
  ?
  
  
  I wouldlike to lookup some hosts ( with WSocket. 
DnsLookup($domain) )
  , and at the end add a results to memo, but... when there is 
no
  result (for example domain doesnt exist) i would like to add
  text
  $domain doesnt exist! ... but have no idea how do i get
  $domain
  string in OnLookupDone event...
  --
  To unsubscribe or change your settings for TWSocket mailing 
list
  please goto http://www.elists.org/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

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


[twsocket] Dnslookup... WSocket...

2006-01-03 Thread Ja
Is DNSLookup with WSocket async?
Thanx!

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


[twsocket] WSocket DNSLookup.

2006-01-03 Thread Ja
Is there any way to do a WSocket DNSLookup and OnLookupDone get 
adress of host that have been looked up?
Thanx

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