>
> Hello Markus,
>
>> This is done because each thread does more things than just sending
>> receiving.
>
> The message was meant because many people think they need a thread per
> communication TWSocket channel. So I assume you have your own reason to
> have a thread.
>
> What you can do is C
> >> Humm, Markus wrote:
> >>> The dll using that communication dll has one thread per socket
> >>> (max. at most 10). Freing the socket is requested by this dll
> >>> when it's execute method terminates.
> >>
> >> And the socket has been _created in method execute as well?
> >> How do you achieve
Wilfried Mestdagh wrote:
> Hello Francois,
>
> I need to make a datacall server with Ras dial up. So I take your
> RadDial as example. Works fine, only thing is that RASCS_Disconnected is
> never fired. It does not fire in your example eather.
> I'm testing it in winXP pro SP2.
>
> Maybe it does
Markus Humm wrote:
> Hello,
>
> given a program which uses several sockets for several connections
> simultaniously. The responses from these connections (assume a 100 BMit
> LAN and about 10 connections) occur assynchronically, all sockets have
> been created by the main program.
>
> What if one
- Original Message -
From: "Markus Humm" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, February 01, 2006 6:41 PM
Subject: [twsocket] Clarification on asynchronus and threads
> Hello,
>
> given a program which uses several sockets for several connections
> simultaniously. The responses from t
Hello,
given a program which uses several sockets for several connections
simultaniously. The responses from these connections (assume a 100 BMit
LAN and about 10 connections) occur assynchronically, all sockets have
been created by the main program.
What if one of these sockets has lengthy thing
> > > And the socket has been _created in method execute as well?
> > > How do you achieve that client sockets run in the client thread
> > > if not using ThreadAttach/ThreadDetach?
> > Hm, no it is created before execute. And no thread attach/detach is used.
> > It works so far until the point wh
Fabio Defferrari wrote:
> Hi, Arno
>
> Many thanks, it worked out fine. Since smaller images were sent perfectly, I
> didn't think the problem was with Binary mode (and also because I thought
> that
> just setting Binary property to True would work...)
The problem was, I would guess, that the
Hi, Arno
Many thanks, it worked out fine. Since smaller images were sent perfectly, I
didn't think the problem was with Binary mode (and also because I thought that
just setting Binary property to True would work...)
Thanks again,
Fábio
> Fabio Defferrari wrote:
> > No, I'm setting Binary pr
> > Did you run TypeSet() for changing into the binary mode?
> No, I'm setting Binary property do True before connecting and sending the
> file.
You must call TypeSet to send the binary transfer type command to the server !
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
On 2/1/2006 9:06:04 AM, in the email about Re: [twsocket] RasDial
disconnect event, Wilfried Mestdagh <[EMAIL PROTECTED]> wrote:
> Hello Francois,
>
> > Sorry, no idea. Too long since I played with RAS API !
>
> No problem. If I find something I let you know. Found something else
> strange also.
Fabio Defferrari wrote:
> No, I'm setting Binary property do True before connecting and sending the
> file.
You must set it explizitly when connected to the server.
i.e. FtpClient1.TypeBinaryAsync;
Arno
> Fábio
>
>
>> Did you run TypeSet() for changing into the binary mode?
>>
>> Regards,
>
Hello Markus,
> This is done because each thread does more things than just sending
> receiving.
The message was meant because many people think they need a thread per
communication TWSocket channel. So I assume you have your own reason to
have a thread.
What you can do is Create and destroy TWS
No, I'm setting Binary property do True before connecting and sending the file.
Fábio
> Did you run TypeSet() for changing into the binary mode?
>
> Regards,
>
> SZ
>
> - Original Message -
> From: "Fabio Defferrari" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Wednesday,
Hello Francois,
> Sorry, no idea. Too long since I played with RAS API !
No problem. If I find something I let you know. Found something else
strange also. Also it is with original demo program.
- dial connection with PPP Deamon
- connect socket client with tcp server listening on other side
- (
Did you run TypeSet() for changing into the binary mode?
Regards,
SZ
- Original Message -
From: "Fabio Defferrari" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, February 01, 2006 3:52 PM
Subject: Re: [twsocket] Image transfer with TFtpClient
Hi, François
Same proble
Hi, François
Same problem. I just recompiled the project using the latest ICS beta and tried
sending the file again. Do you want the files so you can check it out?
Regards,
Fábio
> Please try with latest ICS beta available from my website. This beta
> version contains all the fixes since last
> > And the socket has been _created in method execute as well?
> > How do you achieve that client sockets run in the client thread
> > if not using ThreadAttach/ThreadDetach?
> Hm, no it is created before execute. And no thread attach/detach is used.
> It works so far until the point when I try t
Humm, Markus wrote:
>> -Ursprüngliche Nachricht-
>> Von: Arno Garrels [mailto:[EMAIL PROTECTED]
>> Gesendet: Mittwoch, 1. Februar 2006 12:10
>> An: ICS support mailing
>> Betreff: Re: [twsocket] Problems with TWSocket.close and DLL
>>
>>
>> Humm, Markus wrote:
>>> The dll using that commu
> -Ursprüngliche Nachricht-
> Von: Arno Garrels [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 1. Februar 2006 12:10
> An: ICS support mailing
> Betreff: Re: [twsocket] Problems with TWSocket.close and DLL
>
>
> Humm, Markus wrote:
> > The dll using that communication dll has one threa
> -Ursprungliche Nachricht-
> Von: Dod [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 1. Februar 2006 12:02
> An: ICS support mailing
> Betreff: Re: [twsocket] Problems with TWSocket.close and DLL
>
>
> Hello Markus,
>
> Why do you use one thread per socket ? TSWocket is event driven
Please try with latest ICS beta available from my website. This beta version
contains all the fixes
since last release.
--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier
> TWSocket.close;
> TWSocket.Free;
>
> is okay to terminate and release it?
A gracefull close is nomally done by calling Shutdown. Then when
OnSessionClosed event is fired, you
can call Release to terminate the closing and free the component.
OnSessionClosed event is fired
when the remote socket
Humm, Markus wrote:
> The dll using that communication dll has one thread per socket
> (max. at most 10). Freing the socket is requested by this dll
> when it's execute method terminates.
And the socket has been _created in method execute as well?
How do you achieve that client sockets run in the
Hello Markus,
Why do you use one thread per socket ? TSWocket is event driven so you
can connect to 500 servers if you want within same thread.
For polling messages, if you .mulithread:=true then the TWSocket will
create its own message queue.
HM> Hello,
HM> to the socket hanging on close.
HM>
Hello,
to the socket hanging on close.
There are different threads involved.
The communication dll has one thread which only polls messages.
That one shouldn't be the problem.
The dll using that communication dll has one thread per socket
(max. at most 10). Freing the socket is requested by this
Hello,
I'm using TFtpClient to put JPG image files on a FTP server. The problem is
that
with images smaller than 160/170 Kb, it works fine, but larger images are not
sent correctly. The file itself seems not to be corrupted, but the image (a
picture, in this case) is not sent completely.
I al
Sorry, no idea. Too long since I played with RAS API !
--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
- Original Messa
Hello Francois,
I need to make a datacall server with Ras dial up. So I take your
RadDial as example. Works fine, only thing is that RASCS_Disconnected is
never fired. It does not fire in your example eather.
I'm testing it in winXP pro SP2.
Maybe it does not matter becuase it seems RasHangupA i
No worries, I decoded it in first attempt :)
Primoz
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Fastream
> Technologies
> Sent: Wednesday, February 01, 2006 10:11 AM
> To: ICS support mailing
> Subject: Re: [twsocket] listening on a multihome
Sorry, it should be "either one OR all adapters".
- Original Message -
From: "Primoz Gabrijelcic" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sent: Wednesday, February 01, 2006 10:31 AM
Subject: Re: [twsocket] listening on a multihomed computer
> Thanks.
>
> Primoz
>
>> -Ori
Thanks.
Primoz
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Fastream
> Technologies
> Sent: Wednesday, February 01, 2006 9:27 AM
> To: ICS support mailing
> Subject: Re: [twsocket] listening on a multihomed computer
>
> Hi,
>
> You can liste
Albert Wiersch wrote:
> I found a solution!
Wow, that works even when you launch BDS with both personalities.
Life can be so easy :)
BTW: To get rid of the resampled BMP's in the tool palette you need
a new set of dcr-files.
Download:
http://www.duodata.de/misc/IcsBdsDcr.zip
They will be inclu
Hi,
You can listen on either one of all adapters (0.0.0.0). This is Winsock
design.
Regards,
SZ
- Original Message -
From: "Primoz Gabrijelcic" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, February 01, 2006 10:17 AM
Subject: [twsocket] listening on a multihomed computer
> Hello everybo
Hello everybody,
I have a following situation. Customer has a multihomed computer (let's say
with three public IP addresses) and wants my ICS-based server to bind to
only _two_ of those addresses. Is there a way to do that in ICS? If not, is
this a limitation of ICS or WinSock?
The closest I have
Whow, that works even when you launch BDS with both personalities.
Life can be so easy :)
BTW: To get rid of the resampled BMP's in the tool palette you need
a new set of dcr-files.
Download:
http://www.duodata.de/misc/IcsBdsDcr.zip
They will be included in next ICS release.
Also there seems t
> The DLL has a data module which has one single TWSocket for all incomming data
> and for each outgoing connection a TWSocket is created dynamically. The
> instance of this
> socket is stored in a TObjectList together with other relevant information.
> When the first connection is opened a sepera
37 matches
Mail list logo