Re[2]: [twsocket] router and IP

2005-03-17 Thread Wilfried Mestdagh
Hello, > detecting whether they are using either a proxy or router > Should i ask them at setup or is it detectable? There is a lot detectable but nothing is 100% safe. Check IPhelper on overbyte.be which has lots on board. --- Rgds, Wilfried http://www.mestdagh.biz Friday, March 18, 2005, 07:5

RE: [twsocket] UDP datagramreceive periodically freezes for seconds

2005-03-17 Thread Udvari András László
Thanks, but it has the same behaviour with 1100 byte long packets, which is well under the size of the MTU. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcello Vezzelli Sent: Thursday, March 17, 2005 5:17 PM To: ICS support mailing Subject: Re: [tw

RE: [twsocket] UDP datagramreceive periodically freezes for seconds

2005-03-17 Thread Udvari András László
Sorry, it was my fault, the UDP datagrams are sent with a TWSocket, not a TWSocketServer. TWSocket has a property: FlushTimeOut, which is set to 60, but in the help file I didn't find anything about it. What does this property do? The listening TWSocket DataAvailable method is the following (

Re: [twsocket] router and IP

2005-03-17 Thread rogersmail
Would it be safe to say using the app i mentioned that if none of the Adapter IP's are the same as the Web IP returned that the user must be using a proxy or router.. If not how are people detecting whether they are using either a proxy or router.. Should i ask them at setup or is it detectable?

RE: [twsocket] HELP with NTLM authentication

2005-03-17 Thread Albert Wiersch
Thank you for checking. What compiler did you compile THttpCli with? Did you do anything special to get it to work? It still doesn't work for me. How did you get the headers log? Perhaps I could try to see what's going on as well. When I try it, I get a page back titled "You are not authorized t

[twsocket] Proxy Server!

2005-03-17 Thread Sebastião Ferreira Mendes Júnior
Hi , I've one problem with gphttpproxy and I read a post in forum. If I'm correct, it can not be used with http1.1? I need a sugestion, what component use in delphi 7 to build my own proxy server ? I need build myself a component? Thanks for sugest os solution. Sebastião Júnior _

RE: [twsocket] HELP with NTLM authentication

2005-03-17 Thread Tibor Csonka
I could access your site with no problem. Here are the headers log: Step 1: GET / HTTP/1.0 Connection: Keep-alive Host: val.htmlvalidator.com:81 HTTP/1.1 401 Access Denied Server: Microsoft-IIS/5.1 Date: Thu, 17 Mar 2005 21:57:30 GMT WWW-Authenticate: Negotiate WWW-Authenticate: NTLM Content-Leng

[twsocket] HELP with NTLM authentication

2005-03-17 Thread Albert Wiersch
My users have reported problems with NTLM authentication. I have also never seen it to work. I am using the latest release version of ICS. I have compiled it with BCB 6. Can someone see if they can access the below URL with THttpCli? I have not had any luck. I get an unauthorized page. I've teste

Re: [twsocket] how exclusive is twsocketclient

2005-03-17 Thread Francois PIETTE
> I need to check session object. to do that I save Sender of > TWSocketClient. But how exclusive is this ?> Is it possible same address > is returned if many connect / disconnect happens ? Yes. each new connection has a new component created. It can be created at the same address as a component d

Re: [twsocket] UDP datagramreceive periodically freezes for seconds

2005-03-17 Thread Wilfried Mestdagh
Hello Udvari, TWSocketServer does not handle UDP, only TCP. --- Rgds, Wilfried http://www.mestdagh.biz Thursday, March 17, 2005, 16:28, Udvari András László wrote: > Hi List, > I wrote a little client-server application, which measures UDP > datagram transfer speed. The server is using TWSocke

[twsocket] how exclusive is twsocketclient

2005-03-17 Thread Wilfried Mestdagh
Hello, I need to check session object. to do that I save Sender of TWSocketClient. But how exclusive is this ?> Is it possible same address is returned if many connect / disconnect happens ? eg: procedure MyFormSessionConnected(Sender: TObject; Error: Word) begin Save(integer(Sender)); end;

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 i

Re: [twsocket] UDP datagramreceive periodically freezes for seconds

2005-03-17 Thread Marcello Vezzelli
Udvari András László ha scritto: Hi List, I wrote a little client-server application, which measures UDP datagram transfer speed. The server is using TWSocketServer, and sends a 1500 byte length UDP datagram in every half seconds. The number of datagrams to be sent is a parameter, tipically some

[twsocket] UDP datagramreceive periodically freezes for seconds

2005-03-17 Thread Udvari András László
Hi List, I wrote a little client-server application, which measures UDP datagram transfer speed. The server is using TWSocketServer, and sends a 1500 byte length UDP datagram in every half seconds. The number of datagrams to be sent is a parameter, tipically some 100, below 1000. The client sid

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

2005-03-17 Thread Queck Rainer GH
Hi Francois, > ICS component would not work if you use WaitForMultipleObjects. If it works, it is the sign that you created the component in the main thread context ! < Well the component is created in the threads context, and suprise, it does work :-) sniplet from my code //===

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

2005-03-17 Thread Francois Piette
> I guess, next thing I try is to use "MsgWaitForMultipleObjects" > instead of "WaitForMultipleObjects". ICS component would not work if you use WaitForMultipleObjects. If it works, it is the sign that you created the component in the main thread context ! -- [EMAIL PROTECTED] Author of ICS (Inte

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

2005-03-17 Thread Queck Rainer GH
Hello Francois, > Are you sure the FTP component run in the thread's context ? That is it is created from the thread's execute method. < Yes, I always have a "ContextStartup" Method in my threads. It is called at first on my threads execute before I step into the "while not terminated" loop. >

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

2005-03-17 Thread Francois Piette
Are you sure the FTP component run in the thread's context ? That is it is created from the thread's execute method. Does the slowdown occur when you app just do nothing or when there is a file transfer in progress ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - Fr

Re: [twsocket] router and IP

2005-03-17 Thread Francois Piette
> Why do you need your local IP address, why can't you bind to IP 0.0.0.0? Maybe he has several interfaces and want to listen on only one of the interfaces ? -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.e

Re: [twsocket] router and IP

2005-03-17 Thread Dan
Why do you need your local IP address, why can't you bind to IP 0.0.0.0? Dan - Original Message - From: "rogersmail" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 17, 2005 1:15 AM Subject: Re: [twsocket] router and IP Also the website server after login returns to

[twsocket] Message Processing of FTP-Client in threads

2005-03-17 Thread Queck Rainer GH
Hi List, It look like I have a problem with the FTP-Client message processing. In my application I have a thread, that ist responsible for exchanging files via FTP. This application works nicely and with out putting any load to the cpu. Now I realized, that it is my application that slows down

Re: [twsocket] OnDataSent

2005-03-17 Thread Francois Piette
> > Not exacly. OnDataSent is fired when TWSocket has empty his buffer. But > > you are right about when it is emptied between the calls, but of course > > only when messages are processed. > > So if Winsock buffer is NOT emptied, but TWSocket is, the event is fired > anyway? Yes indeed.OnDataSent

Re: Re[2]: [twsocket] router and IP

2005-03-17 Thread Francois Piette
> I do have a app that gives me External and internal IP's and gateways etc > which if anyone wants the cpp project then see below.. its a BCB6 project > using ICS and API. > It can be found below to see if its what you need.. > > excutable is at: > http://www.paxads.com/NetInfo.exe > project is at

Re: [twsocket] OnDataSent

2005-03-17 Thread Piotr Hellrayzer Dałek
Hello! > Not exacly. OnDataSent is fired when TWSocket has empty his buffer. But > you are right about when it is emptied between the calls, but of course > only when messages are processed. So if Winsock buffer is NOT emptied, but TWSocket is, the event is fired anyway? -- Piotr "Hellrayzer"

Re: Re[2]: [twsocket] router and IP

2005-03-17 Thread rogersmail
I do have a app that gives me External and internal IP's and gateways etc which if anyone wants the cpp project then see below.. its a BCB6 project using ICS and API. It can be found below to see if its what you need.. excutable is at: http://www.paxads.com/NetInfo.exe project is at http://www.pax

Re: Re[2]: [twsocket] router and IP

2005-03-17 Thread rogersmail
I have no problem getting the external ip and i use this:.. for those interested a bit more added to make sure.. ? - Original Message - From: "Fredrik Bergström" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 17, 2005 7:39 AM Subject: Re[2]: [twsocket] router and IP