Re: [twsocket] URL translation

2010-02-25 Thread Michael Wayne Forrest
Hi, I would firstly confirm that the DNS server returns the correct ip Address. In addition to the above check that Actual data being sent by using WireShark. Good luck. On 22 Feb 2010, at 6:10 PM, YAMACO Software wrote: Hello to all, one of my customers has following problem: if he

Re: [twsocket] header too long HTTP_MIME_TOO_LONG

2009-07-16 Thread wayne forrest
I will try my best to describe the problem I am experiencing a bit better; My PHP side I have this: ?php session_start(); $a_longString1 = verylong1; $a_longString2 = verylong2 header(xx: xx=$a_longString1); header(yy: yy=$a_longString2); ? On Dlephi side I have this: var

[twsocket] header too long HTTP_MIME_TOO_LONG

2009-07-14 Thread wayne forrest
I am receiving an error: header too long HTTP_MIME_TOO_LONG when I call my php file, from HttpCli, *How shoud one I get the vars from php?* I think that there is some kind of limit in the amount of data that can fit into the header. $alist does hold a long list of SQL data. ?php

[twsocket] ThrdSrvV2_1 and ICS V7

2009-06-25 Thread wayne forrest
that the ThrdSrvV2_1 is dated 2001; is there a NEW one ? Is there any ICS V7 sample that uses two Threads ? thanking you Wayne Forrest. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http

[twsocket] 'Cannot detach from another thread'

2009-05-29 Thread wayne forrest
I am having a problem that I do not understand, what It means, The Error message I receive is: *'Cannot detach from another thread'* Here is my code, based on some example I got from ICS, the code below is in my Main Unit. {* We have to attach client socket to this thread's context and then

Re: [twsocket] HttpCli extract Header Variable together with php

2009-03-24 Thread wayne forrest
Hello Francois, you are right, it is header lines that I am referring to, Header-Name: value, ending with CRLF. I find it strange that If I use the above format, I am unable to extract the value using HttpCli1.RcvdHeader.Values['Header-Name']; If I use the following format, I am able to extract

[twsocket] HttpCli extract Header Variable together with php

2009-03-23 Thread wayne forrest
I am not sure how to extract a header variable with ICS HttpCli together with php Below is what I have tried: *DELPHI* Memo2.Lines.Add('MyVar =' + HttpCli1.RcvdHeader.Values['MY_VAR']); * PHP* header(MY_VAR=$alist); I also tried this line below header(MY_VAR: MY_VAR=$alist); -- To

Re: [twsocket] D2009 and HttpClient

2009-03-10 Thread wayne forrest
: wayne forrest wrote: Hello, I am getting some Chinese again, if I cast it to AnsiString, I do not see that data that I am expecting: ( I presume it is either something that I am not doing or it is a bug) I just tried with current SVN version and it works fine. The AnsiString cast should

Re: [twsocket] D2009 and HttpClient

2009-03-10 Thread wayne forrest
Arno, with what version of Delphi did you try ? I do not understand what I am doing wrong; Does my Code look right ? I have the version from the SVN installed. What else could be wrong ? On Tue, Mar 10, 2009 at 8:46 AM, wayne forrest wayneforr...@gmail.comwrote: Hi Arno, I updated my SVN

Re: [twsocket] D2009 and HttpClient

2009-03-10 Thread wayne forrest
I think I might have the wrong ICS version. I will let you know when I have success. Thank you. On Tue, Mar 10, 2009 at 9:46 AM, wayne forrest wayneforr...@gmail.comwrote: Arno, with what version of Delphi did you try ? I do not understand what I am doing wrong; Does my Code look right ? I

[twsocket] HttpClient Add a Header Variable

2009-03-10 Thread wayne forrest
How does one add a Header variable to ICS HttpClient ? thank you. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

[twsocket] D2009 and HttpClient

2009-03-09 Thread wayne forrest
Hello, I am getting some Chinese again, if I cast it to AnsiString, I do not see that data that I am expecting: ( I presume it is either something that I am not doing or it is a bug) Here is my code: var lData: TStringStream; lDataOut : TMemoryStream; lResultPage: string; I : Integer;

[twsocket] ICS and D2009 - Chinese data in Buffer.

2009-02-26 Thread wayne forrest
Hello, I am experiencing a problem with ICS where the Receive buffer is an array of char, When I receive the data it is not what I expected, maybe my data sent is wrong or the receiver end. The code worked perfect with Delphi 7 but with Delphi 2009 it is failing; In my Code I have replaced all

Re: [twsocket] ICS and D2009 - Chinese data in Buffer.

2009-02-26 Thread wayne forrest
Thank you guys, so simple yet so hard to see, it makes sense. On Thu, Feb 26, 2009 at 2:29 PM, Olivier Sannier obo...@free.fr wrote: wayne forrest wrote: I am expecting ASCII text yet I get the Chinese Because you use your buffer as an array of byte, yet you declare it as an array of Char

[twsocket] Delphi 2009 and ICS V7 install Error: ...OverByteIcsTypes....

2009-01-29 Thread wayne forrest
I am experiencing Install problems with ICS V7 that is under SVN. I am getting the Following Error message (retyped from the Error Dialogue): Cannot load package 'OverbyteIcsD2009Run.' It Contains unit 'OverbyteIcsTypes', which is also contained in package 'OverbyteIcsSslDel120Package' I hope

Re: [twsocket] Delphi 2009 and ICS V7 install Error:...OverByteIcsTypes....

2009-01-29 Thread wayne forrest
with Success. regarding the .dcr resource file I simply created a new one from one of your existing ones, and that seemed to work. I hope the Above helps. On Thu, Jan 29, 2009 at 11:33 AM, Arno Garrels arno.garr...@gmx.de wrote: wayne forrest wrote: I am experiencing Install problems with ICS V7

[twsocket] ICS version 7 Alpha and Delphi 2009 - stability

2009-01-28 Thread wayne forrest
I hope some one or ; even maybe the GURU can add some comments. We recently purchased Delphi 2009, and we did not CHECK on ICS if it had a version that was in a STABLE release; The version on the WEB refers to V7 Alpha 1, and the readme that comes on the Delphi 2009 CD refers to V7 pre-release

[twsocket] Install Error for branch icsv7 : [DCC Error] E1026 File not found: 'OverbyteIcsWSocketTS.dcr' Branch

2009-01-28 Thread wayne forrest
Hello ICS, I am experiencing problems installing ICS V7, The Error I receive is: [DCC Error] E1026 File not found: 'OverbyteIcsWSocketTS.dcr' Branch I did a Complete Search for the File OverbyteIcsWSocketTS, and could not be found. The Version I have is from the SVN repository. Thanking you.

Re: [twsocket] ZOMBIE established connections netstat -a

2008-11-07 Thread wayne forrest
Thank you, for the information Francois and Fastream. On Thu, Nov 6, 2008 at 11:50 PM, Francois PIETTE [EMAIL PROTECTED]wrote: I have monitored the connection, and I see that there are a lot of TCP retransmissions, eventually the connections get cleaned up, but this takes some time. IS

[twsocket] ZOMBIE established connections netstat -a

2008-11-06 Thread wayne forrest
Hello, I have ZOMBIE connections that remain active for some time. We accomplish this by connecting with a Cell phone to ICS, and remove the battery while we have an active TCP connection. Is there a way that we quickly determine such connections and clean them up. Thanking you Wayne Forrest

Re: [twsocket] ZOMBIE established connections netstat -a

2008-11-06 Thread wayne forrest
PROTECTED]wrote: Unless there is socket activity that would fail or socket being in keep-alive mode, such connections stay active unless you setup a timer and disconnect them in there... Best Regards, SZ On Thu, Nov 6, 2008 at 4:00 PM, wayne forrest [EMAIL PROTECTED] wrote: Hello, I have

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-08 Thread wayne forrest
to not use CLASS Functions; Is there any other way; Like a STATIC Variable in Delphi 7; I tried the {J+} const aFileList : TStrings = nil; {J-} but it did not WORK; On Wed, May 7, 2008 at 4:19 PM, Arno Garrels [EMAIL PROTECTED] wrote: wayne forrest wrote: How do I know if the mail

Re: [twsocket] Intercept Http Request Headers and Alter Them

2008-03-19 Thread wayne forrest
Great, that is just what I needed. Thank you. On Tue, Mar 18, 2008 at 6:49 PM, RTT [EMAIL PROTECTED] wrote: This is a very simple parse solution, but works. HeaderList := TStringList.Create; HeaderList.NameValueSeparator := ':'; HeaderList.Text :=

[twsocket] Intercept Http Request Headers and Alter Them

2008-03-18 Thread wayne forrest
I am looking for a way to PARSE and ALTER http request headers. Currently I have the Header in a STRING, and want to ADD Headers if they do not EXIST. I am not sure what Class to use: I have looked at var web : TWebRequest; web := TWebRequest.Create; web.Content := s; // set the Header , not

[twsocket] Proxy server Example

2008-03-17 Thread wayne forrest
Can any one please help, I am looking for an example of a Proxy Server. My idea is this, I want to intercept requests and add request properties and forward the requests on behalf of the clients. not even sure if this is possible. thank you. -- To unsubscribe or change your settings for

Re: [twsocket] UDP Hole Punching

2008-03-06 Thread wayne forrest
http://sourceforge.net/projects/ktelnet On Thu, Mar 6, 2008 at 7:29 PM, Dave Baxter [EMAIL PROTECTED] wrote: I'll take a look. Cheers. Dave B. -Original Message- From: wayne forrest [mailto:[EMAIL PROTECTED] Dave, thank you for all the advice, I will look into all

Re: [twsocket] UDP Hole Punching

2008-03-04 Thread wayne forrest
created for A-S and B-S would not work when you try to connect directly A with B. - Original Message - From: wayne forrest [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, February 21, 2008 8:22 PM Subject: [twsocket] UDP Hole Punching

[twsocket] UDP Hole Punching

2008-02-21 Thread wayne forrest
a lot of users not knowing how to do port forwarding. Thank you. Wayne Forrest. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Invalid Window Handle when Application Closed and Active Connections

2008-02-19 Thread wayne forrest
PROTECTED] wrote: Hello wayne, possible you destroy something that also is destroyed by the application ? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, February 19, 2008, 13:20, wayne forrest wrote: Hello, I get an Error

Re: [twsocket] Invalid Window Handle when Application ClosedandActiveConnections

2008-02-19 Thread wayne forrest
[TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Original Message - From: wayne forrest [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, February 19, 2008 1:42 PM Subject: Re: [twsocket] Invalid Window Handle when Application Closed

[twsocket] Access Violation at Address 00000 - When Client App terminates

2008-02-06 Thread wayne forrest
I have an Access Violation at address 0, I googled on this and found that this means a reference to a null. Basically I have implemented my Application based on ThrdSrvV2_1 demo project, The problem happens as Follows: The Client connects to the Server, then requests data, I then Close the

Re: [twsocket] Access Violation at Address 00000 - When Client App terminates

2008-02-06 Thread wayne forrest
, or there is some pointer overwritten. When you have the exception view the call stack window to go to the offending code. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, February 6, 2008, 09:32, wayne forrest wrote: I have an Access

Re: [twsocket] Send Integer ?

2008-02-04 Thread wayne forrest
://www.mestdagh.biz Friday, February 1, 2008, 08:07, wayne forrest wrote: I have no joy yet, maybe you can assist a bit more, On the receiving side I have this in java: ~~ int ch1 = iStrm.read(); //read first byte int ch2 = iStrm.read

Re: [twsocket] Send Integer ?

2008-01-31 Thread wayne forrest
://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, January 31, 2008, 15:24, wayne forrest wrote: I am busy converting an Indy Application to ICS, I have a Fucntion in Indy that is : WriteInteger(anInt, true); // where true = network byte Order How can I achieve