Re: [twsocket] Message Processing of FTP-Client in threads

2005-03-17 Thread Francois PIETTE
Maybe be it workes, because there is a Application.Processmessages somewhere in my code. You should not call Application.Processmessages from a thread. However, I have solved my problem in the meanwhile by using MsgWaitForMultipleObjects. If you look into ICS source code, you'll see that it

[twsocket] HTTP client: what about posting zero bytes ?

2005-03-19 Thread Francois PIETTE
Actually, THttpCli.DoRequestAsync is implemented to trigger an exception if there is nothing to POST/PUT: if ((Rq = httpPOST) or (Rq = httpPUT)) and (not Assigned(FSendStream) or (FSendStream.Position = FSendStream.Size)) then raise EHttpException.Create('HTTP component

Re: [twsocket] HTTP client: what about posting zero bytes ?

2005-03-21 Thread Francois Piette
Message - From: Maurizio Lotauro [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, March 20, 2005 12:00 AM Subject: Re: [twsocket] HTTP client: what about posting zero bytes ? On 19-Mar-05 18:43:39 Francois PIETTE wrote: Actually, THttpCli.DoRequestAsync is implemented

Re: [twsocket] ICS repeater

2005-03-24 Thread Francois Piette
I looking for a repeater for ICS like the VNC repeater: From a remote location, the client reach a repetaer a fix address behind a firewall and this one routes the packet to one of the internal machines not reachable from outside. This is what I name a proxy. Any idea ? I have no idea

Re: [twsocket] FTP server manual pasv ports

2005-03-24 Thread Francois PIETTE
Any idea? Not implemented. -- [EMAIL PROTECTED] http://www.overbyte.be . - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, March 24, 2005 1:15 PM Subject: [twsocket] FTP server manual pasv ports Hello,

Re: [twsocket] mget ont TFtpCli

2005-03-28 Thread Francois PIETTE
Do a list and then iterate thru the list to get each file. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Léo [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, March 28, 2005 7:23 PM Subject: [twsocket] mget ont TFtpCli How do I a multiple get for files

Re: [twsocket] RE2: FTPClient Get-Command-Problem on UNIX-Server

2005-03-29 Thread Francois PIETTE
Is this then the right way? Looks good. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Mice Cage [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, March 29, 2005 4:42 PM Subject: Re: [twsocket] RE2: FTPClient Get-Command-Problem on

[twsocket] New release: minor bug fix, new sample

2005-04-14 Thread Francois PIETTE
A new ICS version is available. A small bug has been fixed in the HTTP client component that affected authentication with iPlanet Web Proxy Server (found by Mr Bloms and Tomachinsky). A new console mode sample: ConUdpLstn. It is the GUI sample UdpLstn ported to console. It make use on the

Re: [twsocket] New release: minor bug fix, new sample

2005-04-16 Thread Francois PIETTE
release: minor bug fix, new sample On 14-Apr-05 20:28:50 Francois PIETTE wrote: A new ICS version is available. A small bug has been fixed in the HTTP client component that affected authentication with iPlanet Web Proxy Server (found by Mr Bloms and Tomachinsky). The same fix should be applied

Re: [twsocket] Question How can I setup checkboxes to see theFTP-Status

2005-04-16 Thread Francois PIETTE
I'm coding with Delphi 2005. Win32 personnality ? Till now I don't see the ftp-status. I like to have 3 checkboxes for each status (Online, 421, Offline). If one status is true the checkbox for the status should be checked. I know that FTPCLI has a status-Option with a log. How can I do

Re: [twsocket] Question How can I setup checkboxes to seetheFTP-Status

2005-04-16 Thread Francois PIETTE
I don't see any error-message. For example the FTP is not connected, delphi2005 gives me the error-message with the option to break or continue. i think i miss something. So what do I need minimal to get the error-messages? Use OnBgException event. Use Try/Except Use Application.OnException --

Re: Re[2]: [twsocket] Multithreaded http...

2005-04-17 Thread Francois PIETTE
What will happen when someone will change the system time? Then you are in trouble :( Not if she use GetTickCount which returns the nb of milliseconds since the system is up and running. Restart to zero after approximately 49 days. That is perfectly suitable for timeout determination. --

Re: Re[4]: [twsocket] Multithreaded http...

2005-04-21 Thread Francois Piette
So this ruin everything... semi-multithreading won't make its role... Please elaborate. -- [EMAIL PROTECTED] 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

Re: [twsocket] Using THtmlSmtpCli in a TWebModule

2005-04-22 Thread Francois Piette
I have been using the THtmlSmtpCli for some time and it works great. I have some web based code and when I put this object in it, it doesn't seem to work any more... When I run Connect it seems to go into the smtpDnsLookup state and stay there. Is there anything I need to do to make it work

Re: [twsocket] missing header file

2005-04-24 Thread Francois PIETTE
] missing header file I searched my computer and the file WSocket.h does not exist anywhere, I must have made an error on the installation. I am using BCB6 Personnel. Francois PIETTE [EMAIL PROTECTED] wrote: When I place a wsocket component on a form I get the following warning: Unable

Re: [twsocket] Reasonable timeout

2005-04-25 Thread Francois Piette
1:00 AM Subject: Re: [twsocket] Reasonable timeout Hello! Francois PIETTE wrote: I just wonder how other programs can provide a user defined TCP timeout that appears to overrule the system setting or is something like that just a fake? I've searched on MSDN and found that setsockopt

Re: [twsocket] Any alternatives to multithreading?

2005-04-25 Thread Francois Piette
Is there *any* way to slow down ICS, so message queue overflow won't occur so often? Unless you use UDP or wsoSIO_RCVALL option, there is no reason to have a message queue overflow. Using TCP, if you don't read data as fast as the sender is able to send, the protocol is designed so that

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Francois Piette
You use a HTML relocation. Why not using a HTTP relocation ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, April 25, 2005 1:56 PM Subject: [twsocket] Redirect a browser

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
Maybe you have a file permission problem. Your service is logged under system account or another account. Check that it has the required permissions. Also a side problem I'm having is: do you know of a simple way to parse the results from the DIR command into a simple list of filenames, sizes,

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
It's easy to do a quick test using a TFileStream to write something in the service's folder to confirm it's a permission problem or not. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Nikolay Simeonov [EMAIL PROTECTED] To: 'ICS support mailing'

Re: [twsocket] [HELP] FtpServer : Long Process HOWTO

2005-04-26 Thread Francois PIETTE
FTP server component will send the files simultaneously to all client at their own speed. It is serialized only when in the event handler, not for sending files. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Guillaume MAISON [EMAIL PROTECTED] To: iCS support

Re: [twsocket] [HELP] FtpServer : Long Process HOWTO

2005-04-27 Thread Francois Piette
meaning that if the making of such a file in the event handler take some time (10 s let's say), and i have 10 clients asking almost simultaneously for images, the last one will have to wait for 100 secs before receiving anything. You you have to hang into the event handler for 10 seconds,

Re: [twsocket] Address already in use (Error #10048)

2005-04-29 Thread Francois PIETTE
Strange: error 10048 normally occurs when listening on a given port. Error 10048 occurs when you try to reuse a port that is already in use. Maybe your user is launching your program twice ? Also, have a look at this article: http://support.microsoft.com/default.aspx?scid=kb;en-us;319502 --

Re: [twsocket] Ping Packet size

2005-04-29 Thread Francois PIETTE
Strange. What happend when you use the demo application delivered with ICS ? You can confirm the large packet size by using a sniffer such as Ethereal (a link is on my links page). -- [EMAIL PROTECTED] The author for the freeware multi-tier middleware MidWare The author of the freeware Internet

Re: [twsocket] Ping Packet size

2005-04-30 Thread Francois PIETTE
Thanks for the rapid response! Well, you posted just when I was reading. I ran the demo, and the other side said they were 56 bytes. I downloaded the latest, rebuild the packages, and recompiled my program. Hopefully this will fix it. Won't know for sure for a couple days. Ping component

Re: [twsocket] Problem that i don't understand

2005-04-30 Thread Francois PIETTE
know why butt then I receive errors. You should indicate exactly which errors you have and where they occurs, exactly. When I debug step by step I end up in the code of TCustomWSocketServer.TriggerSessionAvailable, at the and of that procedure 'Client.StartConnection' I receive an access

Re: [twsocket] Overwriting of HttpCli properties

2005-04-30 Thread Francois PIETTE
properties On 28-Apr-05 07:56:34 Francois Piette wrote: Maybe a problem with my bad english :-( If your english is bad, what I must say of my english? ;-) I read your message twice and don't understand. The changed behaviour you describe is the curent behaviour. The point is that actually

Re: [twsocket] Redirection? [HTTPCli]

2005-04-30 Thread Francois PIETTE
- From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, April 29, 2005 8:54 AM Subject: Re: [twsocket] Redirection? [HTTPCli] Ok... i got follow redirection Enabled but it doesn't do what i thought it should do. I got a site... site

Re: [twsocket] The code

2005-04-30 Thread Francois PIETTE
What does the debugger says when you watch at FBanner, FLineEnd and Self ? Are you able to enter SendSr using F7 ? When you put a breakpoint on the first line of SendStr, do you reach that breakpoint before the exception ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message -

Re: [twsocket] new httpcli exception

2005-05-01 Thread Francois PIETTE
Are you using a proxy or not ? Are you using authentication ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Jack [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, May 01, 2005 9:26 AM Subject: Fwd: [twsocket] new httpcli exception

Re: [twsocket] ReadLine

2005-05-01 Thread Francois PIETTE
As expressed in the source code, ReadLine is deprecated. Anyway, it doesn't fit correctly with UDP protocol which is datagram oriented. Using lines with such protocol is strange. Now I have the problem that at one place in the program I need synchronus communication. I send out one byte and if

Re: [twsocket] ReadLine

2005-05-01 Thread Francois PIETTE
://www.overbyte.be - Original Message - From: Markus Humm [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, May 01, 2005 3:56 PM Subject: Re: [twsocket] ReadLine Francois PIETTE schrieb: As expressed in the source code, ReadLine is deprecated. Anyway, it doesn't fit

Re: [twsocket] ReadLine

2005-05-01 Thread Francois PIETTE
Do I really need a message pump in this case? You always need a message pump for ICS component (except TPing component) to work. Without message pump, no winsock event ! I think not, since the program never spends long times in the dll, because the data is given back to the caller very fast

Re: [twsocket] ReadLine

2005-05-02 Thread Francois Piette
You _always_ need a message pump. If the calling program doesn't provide one, you must provide one and to have one without interfering with the calling DLL it is better to have all you stuff in a thread. Consider a thread as a program within a program. If you don't want to have a

Re: [twsocket] ProcessMessages

2005-05-03 Thread Francois Piette
There are two other components in the dll which suffer from the very same problem. One is the timer and another is one for the other communication method which doesn't have a processmessages. Obviously, you failed to have a working message pump. Do you have any hints for these as well?

Re: [twsocket] Messages

2005-05-03 Thread Francois Piette
does a sending TWSocket need to have its messages processed? Yes, it have to. If yes how is this done? A simple loop directly after sending which calls processmessages of the socket? Anything that makes messages properly processed is good. But be aware of the context where it is called.

Re: [twsocket] ProcessMessages

2005-05-03 Thread Francois Piette
- the receiving TWSocket can't be a static component on the datamodule because it has to be in a thread? Yes, the component has to be _created_ within the context of the thread that will handle his events. In case of TWSocket, you have ThreadDetach and ThreadAttach methods if it is not

Re: [twsocket] Messages

2005-05-03 Thread Francois Piette
You can't call the message pump from anywhere. Where would it be impossible? Each time you call the message pump, you trigger message processing. If you trigger message processing, you must be prepared to have your event reentered. Basically it is not a problem but actually it is since most

Re: [twsocket] Messages

2005-05-03 Thread Francois PIETTE
udp.addr :=ip; What IP address do you use ? It must be either '0.0.0.0' or the IP address of the network interface you want to listen to. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: [EMAIL PROTECTED] To: twsocket@elists.org Sent: Tuesday, May

Re: [twsocket] Thread Attach

2005-05-04 Thread Francois Piette
how does TWSocket.ThreadAttach work? I don't see where have to specify the thread. Or is it to be used in TThread.Execute and then is's automatically attached to the current one? You've got it ! Be aware that a thread context is not directly related to a thread's method. -- [EMAIL

Re: [twsocket] Error in OnDataAvailable

2005-05-04 Thread Francois Piette
In all these years I cannot remember I ever had a winsock error in OnDataAvailable of TWSocket. Someone has ??? Any other such expriances ? I think this is intersting to share. I don't remember having one. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your

Re: [twsocket] Messages

2005-05-04 Thread Francois Piette
The app. does something like this: repeat send something; wait some ms; until ende = true; This is bad design considering you are using an asynchonous component. You must replace any loop by a cascade of events. Just like any normal GUI program: you have a running message pump (you

Re: [twsocket] Thread Attach

2005-05-04 Thread Francois Piette
hm, curious. Now it works if I have the receiving component statically on the data module and have it Multihreaded:=true; and simply process messages like that while GetMessage(MsgRec, 0, 0, 0) do begin TranslateMessage(MsgRec); DispatchMessage(MsgRec) You have all events

Re: [twsocket] Messages

2005-05-04 Thread Francois Piette
I know that this is bad design, but that is used only for testing the dll, nothing more. Later it will be replaced by another dll which really will be event driven. For simple test purposes such a complicated event driven app. would be overkill! You are loosing your time writing 'test code

Re: [twsocket] Still the same

2005-05-04 Thread Francois Piette
May I send my project on this mailing list, in the hope that someone could help me It would be rejected by the mailing list processor. Instead, put you project (source code only) somewhere on a server and publish here in the list an URL to download it by the interested peoples. btw: Does the

Re: [twsocket] Sending video data via UDP

2005-05-07 Thread Francois PIETTE
The UdpSend/Lstn demo generates an error here (ListenBackLog Property does not exist), but I can read all the source. It is likely you have an old wsocket.pas or wsocket.dcu somewhere. Check you installation and be sure to delete every old file version. Use the latest version from my website.

[twsocket] Fixed version of HttpProt (authentication)

2005-05-08 Thread Francois PIETTE
Maurizio Lotauro worked hard on the authentication routines into HTTP client component. His work is ready for testing. You can download it from ICS download page. Here are some of his words: Hello Francois, attached you found the result of two weeks of hard work. It was very complicated

Re: [twsocket] proj zipped

2005-05-10 Thread Francois Piette
About the stripping part is a bit harder, cause, it's all linked to each other Good design would separate as much as possible the communication part from others parts such as GUI. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] FTP Client - Server close Connection

2005-05-10 Thread Francois Piette
Thanks. Does it mean that I can cyclical send some command (for example, to get list of files) each minute, and in the case of error user get message : Error connection? If your goal is to keep the connection alive (most server close it if no command is sent), then yes, you can simply send a

Re: [twsocket] Help with ICS

2005-05-11 Thread Francois Piette
I use BCB 3.0. I download and instal latest version of ICS but if I try it I get error stack owerflow. It is likely that you have a function that call itself or call a second function that calls the first one. This is an endless loop which is terminated when the stack is overflowed. PS.

Re: [twsocket] Disconnect from FTP Server [FTP Client]

2005-05-16 Thread Francois PIETTE
1) Client connects to the FTP server 2) After timeout or in the case of connection error FTP server close connection 3) FTP client recieve (immediately) message that FTP server is not avialable 4) Other actions on the side of client How I can realaize the 3) step? Does anybody solved such

Re: [twsocket] TMemoryStream [FTP Client]

2005-05-17 Thread Francois Piette
does FTP Client works with TMemoryStream to store result of DIR command in memory instead of in local file? Yes, use LocalStream property. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] TMemoryStream [FTP Client]

2005-05-17 Thread Francois Piette
does FTP Client works with TMemoryStream to store result of DIR command in memory instead of in local file? Yes, use LocalStream property. Thanks, it works. Does TStringSteram supports by TFtpClient? Any TStream derived class should work. If you don't see data, be sure to rewind the

Re: [twsocket] Threaded client?

2005-05-17 Thread Francois PIETTE
The reason I was thinking of a multi-threaded client is that I want to isolate this module with the main form. No need to have multithread for that. Just put your TWSocket into a TDataModule. It's enough. You can evn create them dynamicall in a pure .pas unit. fyi: Message handlers can be put

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Francois PIETTE
Use a thread with his own message within your service to put all ICS stuff and you'll get rid of anything else. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Guillaume MAISON [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, May 18,

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Francois PIETTE
i'm wondering about the way to implement a FTP server (with thread on GetProcessing) within a Windows Service ? Does anyone has a sample ? The is a sample service in the demos. There is nothing very special to make a service using ICS. As long as there is a working message pump, ICS component

Re: Re[4]: [twsocket] Receive result of the first ReceiveStr() call twice

2005-05-19 Thread Francois PIETTE
Attempt to gracefully close the socket. If there is still some data waiting in the buffers it will try to send it. ***Do not use Close from within any TWSocket events, instead use CloseDelayed.*** You even have to call Shutdown(1) to really gracefully close the socket. Calling Shutdown will

Re: [twsocket] Connection not closed in WebServer with IE

2005-05-19 Thread Francois PIETTE
,'','',Header,Body); Bruno On 19/5/2005 13:35:13, Francois PIETTE ([EMAIL PROTECTED]) wrote: There is no need to - if you take a look at AnswerString in HTTPSrv, you have: But you are not using AnswerString. Are you ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original

Re: [twsocket] Telnet

2005-05-20 Thread Francois Piette
I'm using ICS - TWSocket and I wrote a server that listen on port, waiting a connection. A client telnet connect to this IP/port and the server execute another application to receive this connection. The server is a single receive of connections. Question 1 = Did you already make something

Re: [twsocket] Receive result of the first ReceiveStr() call twice -not resolved

2005-05-20 Thread Francois Piette
I still persist saying the you probably call the message pump directly or indirectly (for example your Log() function, or any component you use for display). I suggest you make a stripped down version of your program, just he bare minimum in a small project. If the problem persist with this

Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Francois Piette
I have question about using Binary Mode. If I set FTPClient.Binary = True, my data is transmited in Ascii mode anyway. Because the server doesn't know you have changed the way data has to be transfered and FTP protocol default to ascii. You _must_ call method TypeSet to send the information

Re: [twsocket] Telnet

2005-05-20 Thread Francois PIETTE
access to source code. If you have a idea about this, i like it ! A code example about establish conection in another application is very good ! :) Thanks Arnoldo - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent

Re: [twsocket] Telnet

2005-05-21 Thread Francois PIETTE
This problem is not related to ICS. Please use a general purpose mailing list or newsgroup. For example http://www.elists.org/mailman/listinfo/delphi btw: You must serialize your requests that must pass thru those single user components. Contribute to the SSL Effort. Visit

Re: [twsocket] Telnet

2005-05-21 Thread Francois PIETTE
I'm not reinventing the wheel. I saw your samples programs about TWSocketServer too. My problem not is work with various instances of clients. My problem is when the client connect the server, the server redirect the connection to another application. I have the Socket.Accept, I run another

Re: [twsocket] Connection not closed in WebServer with IE

2005-05-21 Thread Francois PIETTE
; ClientCnx.AnswerString(Flags,'','',Header,Body); end; Bruno On 19/5/2005 15:02:20, Francois PIETTE ([EMAIL PROTECTED]) wrote: I don't know the context of this code. I find strange to have a local variable Flags. Have you looked at the WebServ delo provided with ICS ? See

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-21 Thread Francois PIETTE
No, I don't have any exceptions - the program runs in the debugger with no errors. The strangest thing is that in Firefox, the connection closes fine all times, but in IE, it doesn't - that happens only for virtual docs. When you request a page, the connection closes ok on both browsers. As I

Re: [twsocket] Connection not closed in WebServer with IE

2005-05-22 Thread Francois PIETTE
Yes, I know, but the behavior is very consistent to be just coincidence. Does it depends on the size of the page ? You send 5000 lines in your test but what is the minimal size to experience the problem ? -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-23 Thread Francois Piette
me if it works without adding the header line in your code. This doesn't compile, FKeepAlive isn't defined. Bruno On 22/5/2005 16:50:11, Francois PIETTE ([EMAIL PROTECTED]) wrote: Finally, I could find what was causing the problem here - I still don't know why, but at least I

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-23 Thread Francois Piette
then PutStringInSendBuffer('Connection: Close' + #13#10) else PutStringInSendBuffer('Connection: Keep-Alive' + #13#10); end; Bruno On 22/5/2005 16:50:11, Francois PIETTE ([EMAIL PROTECTED]) wrote: Finally, I could find what was causing the problem here - I still don't know

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-23 Thread Francois Piette
Friday, I went to your site and selected Latest ICS version. Isn't that the latest? Yes, it is. But you have not FKeepAlive variable, so you don't use the latest version (or there is a problem on my website, or there is a caching proxy somewhere). FKeepAlive exists since Apr 16 as the history

[twsocket] [OT] Delphi-Jedi election

2005-05-23 Thread Francois Piette
I support the Delphi-Jedi initiative (http://www.delphi-jedi.org/). I have given some API ports. Currently the is a vote to elect the director. Alan C. Moore is the current director and candidate for one more year. If you have not yet voted, please go to

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-23 Thread Francois PIETTE
Subject: Re: Re[2]: [twsocket] Connection not closed in WebServer with IE Ok, I will wait and download it again when it's available. Thanks Bruno On 23/5/2005 06:19:51, Francois Piette ([EMAIL PROTECTED]) wrote: Can you point me to the right direction? I went to your site today, went

Re: [twsocket] New release published

2005-05-23 Thread Francois PIETTE
PROTECTED] http://www.overbyte.be - Original Message - From: Maurizio Lotauro [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, May 23, 2005 7:22 PM Subject: Re: [twsocket] New release published Scrive Francois PIETTE [EMAIL PROTECTED]: Because of the website

Re: [twsocket] Telnet

2005-05-24 Thread Francois Piette
another process, make it inherit the handle and let him process the connection. The second process may use TWSocket and receive the inherited handle using Dup(). The implementation above is correct ? If not, have a sample ? Thanks Arnoldo - Original Message - From: Francois PIETTE

Re: [twsocket] Telnet

2005-05-24 Thread Francois PIETTE
I have found this article explainign how to inherit from a socket handle: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/shared_sockets_2.asp -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Francois Piette [EMAIL PROTECTED

Re: [twsocket] TCP-based DNS resolution component?

2005-05-25 Thread Francois Piette
I didn't receive any reply Strange, I replyed in the list. so I went ahead and added tcp support in the DNSQuery component. If you are interested I can email you the updated file so that you can review the code and add to your distribution if you like. Yes, please. -- [EMAIL PROTECTED]

Re: [twsocket] Latest revision May, '05 entering URLs

2005-05-26 Thread Francois PIETTE
The url http://132.163.4.102:13 doesn't correspond to a HTTP server. It doesn't return a valid HTTP reply, so the HTTP client component can't work correctly with that. You should use the simple TWSocket to query this server. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message

Re: [twsocket] Latest revision May, '05 entering URLs

2005-05-26 Thread Francois PIETTE
I just tested with my IE the http://132.163.4.102:13 and the http://132.163.4.102:14 and both respond with a time line. But neither of these work with the ICS demo's. Still asking 'what am I missing with the ICS?' ICS HTTP component expect to receive a valid HTTP response. IE silently

[twsocket] Re: Re[2]: TCP-based dnsQuery code

2005-05-29 Thread Francois PIETTE
Jack, I received your code and reviewed it. It work but I had to fix a problem: even with UDP that is connectionless, the OnSessionConnected event is called. I had to remove the send in SendQuery since it is now done in the session connected event. You'll your code in the next release. -- [EMAIL

Re: [twsocket] Internet cafe software

2005-05-31 Thread Francois Piette
For your server, start with SvcTcp or SrvTcp demos. The first is a service and the later a normal application. Both use the same kernel. For your client application, start from Client7 demo. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: George [EMAIL PROTECTED]

Re: [twsocket] Non-LineMode Protocol Sending and Receiving

2005-06-02 Thread Francois Piette
It's easy with LineMode on - ICS only forwards the data on when it receives a delimeter. But when it's off, it seems as though anything other than file sends and receives (because you don't really act on the file stream, you just send or recieve its bytes) proves to be a difficult task. If

Re: [twsocket] Upload file using http protocol

2005-06-02 Thread Francois PIETTE
You have to format your posted data according to the MIME standard. This has been discussed several times before. I suggest you scan the mailing list archives to find what has been said on the subject. There is a searchable archive here: http://marc.theaimsgroup.com/?l=twsocket You can download

Re: [twsocket] Folder names in THttpServer

2005-06-05 Thread Francois PIETTE
I traced it to on command and it reads the input character by character wrong on some characters such as çg. Why is it wrong ? In a previous message you told me turkish was 8 bit characters. Now I understand it is double byte characters. Could you try with these characters? I know they look

Re: [twsocket] Folder names in THttpServer

2005-06-05 Thread Francois PIETTE
will try to build a test code. Best Regards, SZ - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, June 05, 2005 12:09 PM Subject: Re: [twsocket] Folder names in THttpServer I traced it to on command and it reads the input

Re: [twsocket] Looking for sample.

2005-06-06 Thread Francois Piette
MailRcv sample doesn't decode messages in any way. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Bob Herbst [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, June 06, 2005 8:00 AM Subject: [twsocket] Looking for sample. Hi All, If I send a email as

Re: [twsocket] Feedback for fixed version of HttpCli component

2005-06-07 Thread Francois PIETTE
The updated (by Maurizio Lotauro) HTTP client component has been downloaded now hundreds of time. We received not so much feedback here ! Should I consider it is fully working and make it available in the regular distribution ? btw: The link is on the ICS web page Composant client HTTP,

Re: [twsocket] Notes on June 6, 2005 release

2005-06-09 Thread Francois PIETTE
Thanks Maurizio. I fixed those Hothings :-) -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Maurizio Lotauro [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, June 09, 2005 3:21 AM Subject: [twsocket] Notes on June 6, 2005 release Hothing important :-)

Re: [twsocket] Re: Re: 2 questions concerning cookies (Francois PIETTE)

2005-06-11 Thread Francois PIETTE
: 2 questions concerning cookies (Francois PIETTE) Mayby I should describe the problem better. (at the moment taking about using ordinary browser like IE) The situation is like this. I open an URL (http://blablabla.site.pl/?we=airstriker) which provides me with one and only one simple cookie

Re: [twsocket] E-Mail SmtpCli/MimeDec

2005-06-11 Thread Francois PIETTE
1. Change the boundary detection to look for #10#13--boundary#10#13 instead of just --boundary#10#13. But this might be hard, because as far as I understood MimeDec, it already has the stream split into lines before testing for boundaries, and so it is not looking for --boundary#10#13, but

Re: [twsocket] E-Mail SmtpCli/MimeDec

2005-06-11 Thread Francois PIETTE
Thanx Francois. Would you think its better to implement a look-ahead, so that every time that a blank line is found, we check if the next line is a boundary before adding it to the output stream; or remove it from the output stream after a boundary is found? By the way, is the output stream

Re: [twsocket] File Uploads via HTTP

2005-06-12 Thread Francois PIETTE
Is there a way to upload files directly, (in a similar fashion to FTP) using the ICS HTTP Client? Yes. You have to format your posted data according to the MIME standard. This has been discussed several times before. I suggest you scan the mailing list archives to find what has been said on

Re: [twsocket] SMTPCli within a NT service - stack overflow

2005-06-13 Thread Francois PIETTE
No idea. Can you write a very small test program that reproduce your problem ? btw: I use SMTP in service apps without any problem. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Moacir Flávio Gonçalves [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday,

Re: [twsocket] ics for kylix

2005-06-15 Thread Francois Piette
I have a newbie CLX/ICS question. Can ICS for kylix be used in a C++Builder CLX application, or must the VCL version be used? ICS for Kylix is for Kylix :-) ICS-VCL is for Win32 -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list

[twsocket] A new home for eLists.org has been found

2005-06-15 Thread Francois Piette
Here is a message from our current list host managers: A new home for eLists.org has been found! Mac McGruder will be taking them over and has pledged to continue operating the lists in the same spirit that has made these lists a great resource for all. All the moderators will be continuing on

Re: [twsocket] RETR . On ftpServer

2005-06-15 Thread Francois PIETTE
What is IIS reply to the RETR . command ? Is it a file, a directory list or what ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Arnold FLUTEAUX [EMAIL PROTECTED] To: twsocket@elists.org Sent: Wednesday, June 15, 2005 4:41 PM Subject: [twsocket] RETR . On

Re: [twsocket] Protocol 6 (=TCP) not supported by TCustomSocksWSocket

2005-06-18 Thread Francois PIETTE
Rejected: not compatible with all Delphi versions. I thought a decision was made several months ago that the last full release of ICS would be the last to continue backward compatibility of long obsolete compilers, preventing any language features added in the last six years being used in

Re: [twsocket] HttpSrv: implementing NTLM

2005-06-19 Thread Francois PIETTE
Is there someone willing to implement NTLM authentication into HTTP server component ? If no other has offered yourself I can help you in this but only if you have a documentation how to it should work. Otherwise I have no idea how to start it. Well, we have the client side, you participated

Re: [twsocket] problem within a nt service (again)

2005-06-19 Thread Francois PIETTE
Yes, I already have even debug the thread with problem, and checked that, the server and client events, both are called in the same thread, and, an detail I haven't said before is that the client socket is being activated inside the serversocket event onconnect, I mean, when the listener

Re: [twsocket] No response problem [THttpServer - TCustomLineWSocket]

2005-06-20 Thread Francois Piette
The first important thing is: Are you using the very latest ICS version downloaded from my website ? When users clicks links or post forms in their browsers, sometimes they don't get any answer. By debugging the server I realized that in such a case the OnPostDocument event is never

Re: [twsocket] 2 questions concerning cookies

2005-06-20 Thread Francois Piette
I think all answers are at http://wp.netscape.com/newsref/std/cookie_spec.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Julian S. [EMAIL PROTECTED] To:

  1   2   3   4   5   6   7   8   9   10   >