I have my main form which has a TWSocket.. All is well. Now, I'd like to
add another form (visibility can be toggled on or off .. and in truth,
its just a little chat window)..
I'm thinking that I need to replicate the TWSocket from the main form
onto the chat form, so my charform.sendbutton.on
Ya know. It'd help if I actually paid attention to ftpsrv.pas .. Took a
bit of reading, but gained a (limited) understanding of the component.
In the end, I answered my own question: The server handles it all by
itself. Just make sure that:
1) FtpClient1.HostDirName and FtpClient1.HostFileName
I'm having trouble figuring out where to put the "Send file" bit of an
ftpserv component, and once that part is figured out, the best way to
send the file data.
In one program, I have an FtpClient component..
GetFiles : array[1..10] of string;
GetFiles[1] := 'michael.dat';
(and so on)
then
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 ta
Q1:
I set HttpCli1->CtrlSocket->BufSize=32768
,but when I send data it only has Max BufSize 8193.
How can I set it more than 8193 and has it Max limit?
Sending buffer size doesn't change much at the network layer. HTTP use TCP
and TCP is a stream oriented proptocol. Default buffer size fit the
> But when im putting in RequestDone:
> TDNSQuery(sender).Destroy; access violation occures. Why is that?
You can't destroy the object while in OnRequestDone event handler.
But you can PostMessage a custome message to your form and from the event
handler destroy the object.
(This is implemented i
>> ICS-beta V5 and V6 have been updated
>
> V5 is OK, but it looks like the V6 zip is from 2 Jan.
Right.
Corrected now.
Sorry.
--
[EMAIL PROTECTED]
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/tws
Can't remember. I've since moved on, seperating the client and server,
and have now run into a new issue that I'll post about soon (this new
issue is probably something very easy for those that are used to ICS)
Wilfried Mestdagh wrote:
> Hello Michael,
>
> I dont see in your example that you as
Q1:
I set HttpCli1->CtrlSocket->BufSize=32768
,but when I send data it only has Max BufSize 8193.
How can I set it more than 8193 and has it Max limit?
Q2:
Dose HttpCli1->SendStream has Size limit?
When I send more than 100MB file, It seems not works.
___
YM -
Ja a écrit :
> But when im putting in RequestDone:
> TDNSQuery(sender).Destroy; access violation occures. Why is that?
instead try :
TDNSQuery(sender).Free;
But if i were you i would do it elsewhere...
Even in requestdone events or within any component event you shouldn't
try to destroy it as it
Hello,
Did you try this:
TDNSQuery(sender).Release; ?
Regards,
SZ
- Original Message -
From: "Ja" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, January 06, 2006 1:17 PM
Subject: [twsocket] TDNSQuery problem...
> Hi.
> I'm trying to make application that could get info
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:='tc
> ICS-beta V5 and V6 have been updated
V5 is OK, but it looks like the V6 zip is from 2 Jan.
Angus
--
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
13 matches
Mail list logo