Re: [twsocket] SSL and implementation

2006-02-06 Thread Angus Robertson - Magenta Systems Ltd
> 1. Is the ICS-SSL working and ready should I decide to get hold of it? > In other words, it's not in development still and a stable working > release is available? ICS is always under development, and probably always will be, as new features get added. But almost every beta release is stab

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Ionut Muntean
Hi Wilfried, I've already done this. Thank you and Francois and Dod for the responses. Have fun. /Ionut Wilfried Mestdagh wrote: > Hello Ionut, > > Change it like this: > > in the main function: > . > Rec := PrepareRec(true); > Rec.AllDist := Rec.AllDist

[twsocket] SSL and implementation

2006-02-06 Thread Marius van Tubbergh
Hi ICS, Like everybody knows I am quite new to ICS. 1. Is the ICS-SSL working and ready should I decide to get hold of it? In other words, it's not in development still and a stable working release is available? 2. How much work is it to implement it to work 100%? Code-wize? Is it wrappe

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Arno Garrels
a responding community to help you on problems. I simply >> advise anybody to register these components and pay the little fee. >> >> albert drent >> University of Groningen >> >> -- >> To unsubscribe or change your settings for TWSocket mailing li

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Francois PIETTE
> Anyway, I believe it's solved. OK, so back to work, let's discuss technical topics about ICS components. Thanks everybody. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocke

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Marius van Tubbergh
//www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > > > __ NOD32 1.1395 (20060206) Information __ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > -- To unsubscribe or change your setti

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Marius van Tubbergh
; made to some worthwhile cause" > > "Act of giving in common with others for a common > > purpose especially to a charity" > > Yes, I realize ICS is free and SSL-ICS is not free. > > You actually have very clever strategy, will give you

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread albert drent
I think that the fee is fairly reasonable, the quality of these components are quite good as we have used them to create a propiarity ftps client for our company. Indi are nice, but the ssl stuff of v10, simply doesn't work, the forum/newsgroup doesn't reply on ssl isues etc. It's why we went to

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread DZ-Jay
Marius, I see that you have taken SZ's (from Faststream Technologies) comments to represent the views of the ICS community in general, or the purpose of Francois Piette's website in particular. I understand your frustration, as his comments weren't too nice to begin with, and I apologi

Re: [twsocket] TWSocket Digest, Vol 155, Issue 3

2006-02-06 Thread Wilfried Mestdagh
Hello Markus, > only thing I'm yet unsure is the message processing part, but: another > day another idea or so the saying goes... ;-) the only thing that your execute methot has to do is ... create components assign event handlers as you have to do with no threads call message pump unt

Re: [twsocket] IP renewal

2006-02-06 Thread Wilfried Mestdagh
Hello Paul, Correct. And a proxy can only report his own IP... --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, February 6, 2006, 16:15, Paul wrote: > Hi Wilfried, > we're behind a proxy, so this won't help much. > I did't knew y

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Marius van Tubbergh
> I do not understand why people who spend hundreds of dollars for each > Windows copy hesitate to support a descent effort initiated by me back in > 2002-2003 and implemented by many volunteers who are ordinary coders just > like YOU! "Ordinary"??? Please elaborate. If my understanding is not fail

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Arno Garrels
Marius van Tubbergh wrote: > If so I will have to convert back to Indy components. Indy uses OpenSSL v0.9.6, which is obsolete, v0.9.6 had some serious security holes. ICS-SSL uses latest OpenSSL release 0.9.8a. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html >

Re: [twsocket] Dynamic WSocketClient Banner

2006-02-06 Thread Dod
Hello Francois, Stupid I am, I thought about this answer two minutes after sending this mail and leaving work to go back home... Neverless thanks because now I know it is the good way of simply set banner empty and then do a first Sending as banner :-) Regards. >> I am working on some kin

Re: [twsocket] TWSocket Digest, Vol 155, Issue 3

2006-02-06 Thread Markus Humm
>> friday afternoon I outlined my new approach. >> Before implementing it I'd like to know if packing all creating and closing >> stuff in a dedicated thread (one for all sockets) with a message pump >> is okay (should work if implemented with some care). > > Yes, it is OK. BUT make sure your cod

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread DZ-Jay
Marius van Tubbergh wrote: > Is the SSL source only available to donators? > Thats what I understand? > > If so I will have to convert back to Indy components. > Actually thought ICS is freeware. Hello: ICS-SSL will be donated to the ICS community after a year of exclusive access to cont

Re: [twsocket] Dynamic WSocketClient Banner

2006-02-06 Thread Francois PIETTE
> I am working on some kind of proxy that should send back a dynamic > banner. > > This is simple as the banner property can be set at during client > socket Create or Connect. > > I want that when client connect to proxy, proxy ask something to > server, get answer from server

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Fastream Technologies
I do not understand why people who spend hundreds of dollars for each Windows copy hesitate to support a descent effort initiated by me back in 2002-2003 and implemented by many volunteers who are ordinary coders just like YOU! I am not sure what your earning model is but ever thought of develo

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Marius van Tubbergh
Is the SSL source only available to donators? Thats what I understand? If so I will have to convert back to Indy components. Actually thought ICS is freeware. - Original Message - From: "DZ-Jay" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, February 06, 2006 6:44 PM Subje

[twsocket] Dynamic WSocketClient Banner

2006-02-06 Thread Dod
Hello, I am working on some kind of proxy that should send back a dynamic banner. This is simple as the banner property can be set at during client socket Create or Connect. I want that when client connect to proxy, proxy ask something to server, get answer from server and s

Re: [twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread DZ-Jay
Hello: The "HTTPS" protocol is HTTP over SSL. Implementing HTTPS is not a trivial matter, and it is currently the effort of the ICS-SSL Project, lead by Francois. For more information on the ICS-SSL effort, visit the following page: http://www.overbyte.be/eng/ssl.html

[twsocket] Protocol "https" not implemented EHttpException

2006-02-06 Thread Marius van Tubbergh
Hi friends, How can I implement support for the HTTPS protocol using ICS? I am using Delphi 7. The error I receive is: " Protocol "https" not implemented EHttpException" and I assume if implementing support for HTTPS this will resolve the error. I am building an application that will download

Re: [twsocket] IP renewal

2006-02-06 Thread Paul
Hi Wilfried, we're behind a proxy, so this won't help much. I did't knew your IP would be changed with an active connection, but appearently there are some providers that do :-( I don't think there is much one can do ... Paul - Original Message - From: "Wilfried Mestdagh" <[EMAIL PRO

Re: [twsocket] IP renewal

2006-02-06 Thread Wilfried Mestdagh
Hello Paul, GetLocalAddr, but if the session is going trough a router wich does NAT you cannot know. You can then only by accessing the router trough his telnet / html protocol. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, February

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Wilfried Mestdagh
Hello Ionut, Change it like this: in the main function: . Rec := PrepareRec(true); Rec.AllDist := Rec.AllDist - Dist; Rec.count := RecCount; Send(@Rec, SizeOf(TRec)); Query.Next; . in OnDataSent: ..

[twsocket] IP renewal

2006-02-06 Thread Paul
Hi, how can I 'catch' a public IP address renewal during a session, file transfer ... ? Paul -- 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] closing socket socket

2006-02-06 Thread Francois Piette
> friday afternoon I outlined my new approach. > Before implementing it I'd like to know if packing all creating and closing > stuff in a dedicated thread (one for all sockets) with a message pump > is okay (should work if implemented with some care). Yes, it is OK. BUT make sure your code is exec

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Francois Piette
You can't call the message pump (ProcessMessages or any other form of it) from an ICS event handler. If you do, as you see, the events are reentered. This is not an ICS issue, this is always the case, it is simply very visible with fast hardware triggered events such as netwrok events. A simple

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Dod
Don't use repeat/until ProcessMessage loop, you don't need it if you manage sending records thru OnDataSent. IM> Hi Wilfried, IM> I've changed the code to this: IM> in tha main function: IM> . IM> Rec := PrepareRec(true); IM> Rec.AllDist := Rec.AllDist - Dist

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Ionut Muntean
Hi Wilfried, I've changed the code to this: in tha main function: . Rec := PrepareRec(true); Rec.AllDist := Rec.AllDist - Dist; Rec.count := RecCount; Send(@Rec, SizeOf(TRec)); Query.Next; repeat

Re: [twsocket] closing socket socket

2006-02-06 Thread Humm, Markus
Hello, friday afternoon I outlined my new approach. Before implementing it I'd like to know if packing all creating and closing stuff in a dedicated thread (one for all sockets) with a message pump is okay (should work if implemented with some care). Is it okay now? Did I understand the concept c

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Wilfried Mestdagh
Hello Ionut, > The code is executed from OnClientDataAvailable of an TWSocketServer. > When the execution reach the "repeat .. until SentOk", on > ProcessMessages the code is reentered a second time. This is normal. When you start looping processmessages then your code can be reentered because m

Re: [twsocket] Spiders

2006-02-06 Thread Angus Robertson - Magenta Systems Ltd
>> Slightly OT but has anyone created a spider, crawler, bot - whatever >> you like to call it using TWSocket? > If you are asking about web spider then yes I've worked on thing like > that, but it isn't off topic. I suppose it depends on what is inferred by a 'spider', but the TMagHttp compone

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Ionut Muntean
Thanks Dod for your quick response. In OnClientDataAvailable there is a basic command parser, that receives data from the peer ... / Ionut Muntean Dod wrote: > Don't know but did you "Receive" data before ProcessMessage ? > > OnDataAvailable will be triggered until you read received data. > >

Re: [twsocket] What is wrong in this code?

2006-02-06 Thread Dod
Don't know but did you "Receive" data before ProcessMessage ? OnDataAvailable will be triggered until you read received data. Other thing, you should not do such repeat/until upon Send but better use OnDataSent event to manage sending next record(s). IM> Hi, IM> Please look at the code below. IM

[twsocket] What is wrong in this code?

2006-02-06 Thread Ionut Muntean
Hi, Please look at the code below. . . . try try Query.Open; OnDataSent := DataWasSent; // DataWasSent sets "SentOk" to True while not Query.EOF do begin Rec:= PrepareRec(true);

Re: [twsocket] THttpConnection.SendStream at defined Streamoffset

2006-02-06 Thread Joachim Taubitz
Yes, thats correct. My MediaStreaming Client send a http Get with different Offsets. For Example >>RANGE bytes=65535-<< So i open a FileStream, set the Offset with Seek and Assign it to DocStream like this >>ClientCnx.DocStream := TFileStream.Create(AbsFilePath,fmOpenRead);<< and then Call AnswerSt