Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer

2008-01-07 Thread Francois PIETTE
You have to go to the start page, maybe a login page to grab the session cookie, and then use it until it expires and then go back grab another one. The HTTP component support receiving and sending cookies. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author

Re: [twsocket] Memory leaks...

2008-01-07 Thread Francois PIETTE
> Sorry for the trouble. > > I just fixed an error in another part of the program, a call to a driver, > having nothing to do with the TWSocket or really anything related to it, > and > AQTime reports only one leak of 4096 bytes. This one I have no idea what > it > is. It appears to be from MakeO

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 20:06, Jonathan M. Freedman wrote: > smtpCaribou->Host = "[EMAIL PROTECTED]" ; > smtpCaribou->Port = 25 ; > smtpCaribou->Connect() ; > > and get a smtp component not ready error message. Are you sure you get the error on the Connect() call, or on a subsequent method call? Ke

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Hoby Smith
I am sure this is not relevant, but just in case... You do realize that you have the address spelled wrong below? I imagine it should be "smtp", not "smpt"? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan M. Freedman Sent: Monday, January 07, 2

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Jonathan M. Freedman
Dear List: I write this code: smtpCaribou->Host = "[EMAIL PROTECTED]" ; smtpCaribou->Port = 25 ; smtpCaribou->Connect() ; and get a smtp component not ready error message. Question...i don't think I need a twsocket connection first or do i? The server is a timewarner company server. I am a su

Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer

2008-01-07 Thread Terry Gignac
Thanks Dave and Francois, I played with the Fiddler Debugging tool that gives you the Text that is sent to the Server upon the request, which includes the edit fields from the page. This string was made up by the ViewState information for the most part. Using this as the SendString and then Posti

Re: [twsocket] UDP IP Spoofing Possible with ICS?

2008-01-07 Thread Arno Garrels
JLIST wrote: > Hello Arno, > >>> Is it possible to UDP IP spoofing with twsocket component? > >> The only possibility is to use raw sockets with any component >> built around winsock API. > >> You may want to use WinPCap instead >> which allows sending raw packets as well. > > I see. In that ca

Re: [twsocket] Question.

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 15:49, Andre Paradis wrote: > Hi, > > I have a question regarding WebService and HTTP Header. > Instead of using MSSOAP, I create manually the HTTP request for Soap > service. On some server, I need to set "SoapAction" in the Http > Header, how > do you suggest

Re: [twsocket] Question.

2008-01-07 Thread Andre Paradis
Hi, I have a question regarding WebService and HTTP Header. Instead of using MSSOAP, I create manually the HTTP request for Soap service. On some server, I need to set "SoapAction" in the Http Header, how do you suggest supporting that? Thank you. -- To unsubscribe or change

Re: [twsocket] Question.

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 14:45, Andre Paradis wrote: > So you confirm, I don't have any other way to support a new key in the > Http > Header. I'm not sure what it is that you are after... dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elis

Re: [twsocket] UDP IP Spoofing Possible with ICS?

2008-01-07 Thread JLIST
Hello Arno, >> Is it possible to UDP IP spoofing with twsocket component? > The only possibility is to use raw sockets with any component > built around winsock API. > You may want to use WinPCap instead > which allows sending raw packets as well. I see. In that case I suppose I can still use I

Re: [twsocket] Question.

2008-01-07 Thread Andre Paradis
So you confirm, I don't have any other way to support a new key in the Http Header. Andre. Andre Paradis Logiciel LOC Software [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DZ-Jay Sent: January-07-08 2:11 PM To: ICS support mailing S

[twsocket] Socket hijacking

2008-01-07 Thread Arno Garrels
http://msdn2.microsoft.com/en-us/library/ms740621.aspx If I want to hijack a listening socket by setting property ReuseAddr to TRUE, it won't work since SetSockOpt() with parameter SO_REUSEADDR is only called on UDP-sockets in method Listen(). However that would work with sockets of type SOCK_STR

Re: [twsocket] UDP IP Spoofing Possible with ICS?

2008-01-07 Thread Arno Garrels
JLIST wrote: > Hello all, > > Is it possible to UDP IP spoofing with twsocket component? The only possibility is to use raw sockets with any component built around winsock API. You may want to use WinPCap instead which allows sending raw packets as well. -- Arno Garrels [TeamICS] http://www.ove

[twsocket] UDP IP Spoofing Possible with ICS?

2008-01-07 Thread JLIST
Hello all, Is it possible to UDP IP spoofing with twsocket component? Not that I'm trying to create a security threat - it's used in UDP firewall traversal, commonly used in VOIP apps. I think I should be able to do it with raw socket but it doesn't really work very reliably (and it doesn't work

Re: [twsocket] Question.

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 13:55, Andre Paradis wrote: > For now, I have modify the HttpProt.pas but > we keep our ICS package up to date since many years now, and this > modification in this unit will make our life a little bit more > complicated. The easiest way is to extend HttpCli by descending fr

[twsocket] Question.

2008-01-07 Thread Andre Paradis
Hi, I have a question regarding WebService and HTTP Header. Instead of using MSSOAP, I create manually the HTTP request for Soap service. On some server, I need to set "SoapAction" in the Http Header, how do you suggest supporting that? For now, I have modify the HttpProt.pas bu

Re: [twsocket] Memory leaks...

2008-01-07 Thread zayin
Hello, Sorry for the trouble. I just fixed an error in another part of the program, a call to a driver, having nothing to do with the TWSocket or really anything related to it, and AQTime reports only one leak of 4096 bytes. This one I have no idea what it is. It appears to be from MakeObjectInst

Re: [twsocket] Memory leaks...

2008-01-07 Thread zayin
Hi, The TWSocket is on a TDataModule. I am creating the TDataModule and yes I am freeing it. If I was not freeing the TDataModule it would be reported as a leak, along with the other items on the TDataModule. I have not made a test case that just has a TDataModule with a TWSocket. Are you using

Re: [twsocket] Memory leaks...

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 11:45, zayin wrote: > I located the archive and I see his response. > > The leak is reported at program termination not during normal > execution. Are you creating the class object yourself, and if so, are you sure it is being destroyed? Can you offer some code? dZ

Re: [twsocket] Memory leak...

2008-01-07 Thread zayin
Hello Wilfried , I located the archive and I see his response. The leak is reported at program termination not during normal execution. Mark -Original Message- From: zayin [mailto:[EMAIL PROTECTED] Sent: Monday, January 07, 2008 8:46 AM To: 'ICS support mailing' Subject: RE: [twso

Re: [twsocket] Memory leak...

2008-01-07 Thread zayin
Sorry, I have not seen a reply! Where is the archive? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fastream Technologies Sent: Monday, January 07, 2008 8:44 AM To: ICS support mailing Subject: Re: [twsocket] Memory leak... Wifried had already repl

Re: [twsocket] Memory leak...

2008-01-07 Thread Fastream Technologies
Wifried had already replied to your initial message! SZ On 1/7/08, zayin <[EMAIL PROTECTED]> wrote: > > > Hello, > > tcpPort: TWSocket; > > tcpPort.Connect > > AQTime is reporting a memory leak after I call connect. > > Has anyone run into this issue? > > D2007 SP3 XP Pro SP3 > > 5.25 is in the

[twsocket] Memory leak...

2008-01-07 Thread zayin
Hello, tcpPort: TWSocket; tcpPort.Connect AQTime is reporting a memory leak after I call connect. Has anyone run into this issue? D2007 SP3 XP Pro SP3 5.25 is in the WSocket file. Ciao, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.eli

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 06:56, Wilfried Mestdagh wrote: > You call RSet if you have an error. If you have an error just call > Abort > and try later again. Also check on any error, not only between those > values: > > if Error <> 0 then begin >FSmtp.Abort; >SetSomeRetryMechanism; // retry wit

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread Wilfried Mestdagh
Hello retnyg, You call RSet if you have an error. If you have an error just call Abort and try later again. Also check on any error, not only between those values: if Error <> 0 then begin FSmtp.Abort; SetSomeRetryMechanism; // retry with a timer or by posting a message Exit; end; --- R

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread retnyg
hi, i changed the code as follows: procedure TMailer.SmtpClientRequestDone; function isError : boolean; begin result := false; if ((Error > 399) and (Error < 600)) or (error >= 1) then result := true; if result then if assigned(FOnError) then FOnError(FSmtp.ErrorMessage);

Re: [twsocket] New V6 beta FTP client and server components

2008-01-07 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> Many thanks, today I managed to raise an exception in >> CommandPASV(), "port in use". The port table reported the port as >> free, although >> the server actually was listening on that port. I was clicking >> around in multiple FTP clients when that