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 us

[twsocket] TCP PORT - (Already in use)

2009-10-23 Thread wayne forrest
Hello, I need a bit of help, How can one determine if TCP port is already in use, before I startup the SocketServer. Thank you. Wayne. -- 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

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: On Dlephi side I have this: var aString1,aString2 : String; begin aString1 := HttpCli1.RcvdHeader.Values[xx: xx']; aString2 := HttpCli1.RcvdHeader.Values[yy: yy']; aLongString1 is very l

[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. -- C: 076 337

[twsocket] ThrdSrvV2_1 and ICS V7

2009-06-25 Thread wayne forrest
s 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 websi

[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 extrac

[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 unsub

[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

Re: [twsocket] D2009 and HttpClient

2009-03-10 Thread wayne forrest
ICS v7 works perfect. On Tue, Mar 10, 2009 at 10:41 AM, wayne forrest wrote: > 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 wrote: > >> Arno, with what

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 wrote: > Arno, with what version of Delphi did you try ? > > I do not understand what I am doing wrong; Does my Code look right ? > > I h

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 wrote: > Hi Arno, > > I updated my SVN; The Se

Re: [twsocket] D2009 and HttpClient

2009-03-09 Thread wayne forrest
Hi Arno, I updated my SVN; The Server I am using is Apache. The Funny thing is that lResultPage is empty. If I access the url via FireFox I get this:: "this me, I am a testing STrings". I must be doing something wrong. On Mon, Mar 9, 2009 at 5:36 PM, Arno Garrels wrote: >

[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; begin

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 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 &g

[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 oc

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

2009-01-29 Thread wayne forrest
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 wrote: > wayne forrest wrote: > > I am experiencing Install problems with ICS V7 that is

[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 th

[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. W

[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 R

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.

Re: [twsocket] ZOMBIE established connections "netstat -a"

2008-11-06 Thread wayne forrest
AIL 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 fo

[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

[twsocket] TsmtpCli - Event Mail Sent - Delete Attached Temp Files.

2008-05-08 Thread wayne forrest
Hello, I have a problem knowing when to delete temp files, the attachments to the Email message; Here is my Problem I am having. = FIRST TRY = (1'st Email) (Trigger to Send Email)-->Class Fucntion to Send Email.

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

2008-05-08 Thread wayne forrest
o me to solve the PRoblem I will have 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

[twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread wayne forrest
Hello, After I have successfully sent the Email I need to delete the temp Files ( attachments ); How do I know if the mail was sent OK; -- 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 h

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 := You

[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 ev

[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 TWS

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] > >

Re: [twsocket] UDP Hole Punching

2008-03-05 Thread wayne forrest
k > security. > > As you obviously know more about the mobile environment than I do, I'll > bow out now. But with one question in return... > > Do you (or anyone else) know of a generic Telnet client for phones like > the N6110? It'd be so usefull.. > > Ch

Re: [twsocket] UDP Hole Punching

2008-03-04 Thread wayne forrest
to have very frequent UDP > > communications with S, or have a TCP connection with S in > > order to coordinate a hole punching attempt. > > > > > Isn't the translation state based on the remote peer IP > > address, too? > > > Then the same tran

[twsocket] UDP Hole Punching

2008-02-21 Thread wayne forrest
phone. We will have 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 ClosedandActiveConnections

2008-02-19 Thread wayne forrest
und: > > "for i := WSocketServer1.ClientCount -1 downto 0 do" > > since it may happen that the client list shrinks while > > looping. > > Is your application multi threaded? Have you dropped > > the server component onto the form? What component are > > we t

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

2008-02-19 Thread wayne forrest
AIL 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,

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

2008-02-19 Thread wayne forrest
It is a Bit Hard to Find the Exact Location of the Error; The Debugger goes into : Sysutils to Raise the LastOSError; System Error: 1400, invalid window handle. If I hit Ctrl+F3; to get the STACK TRace, there is nothing that is worthwhile to track. I have also tried adding this to the Applicat

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

2008-02-19 Thread wayne forrest
Hello, I get an Error when I close my Server Application: "Invalid Window Handel" I get the ERROR when there are USers Connected. I want to put something in Application on close Event. Thank You. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elist

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

2008-02-06 Thread wayne forrest
hat never has created, 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 > > Wed

[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] Send Integer ?

2008-02-04 Thread wayne forrest
- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://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

Re: [twsocket] Send Integer ?

2008-01-31 Thread wayne forrest
U store it). > > --- > Rgds, Wilfried [TeamICS] > http://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

[twsocket] Send Integer ?

2008-01-31 Thread wayne forrest
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 this in ICS ? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailm