Re: [twsocket] Hi there need exampel or help with Threading

2006-05-02 Thread Wilfried Mestdagh
Hello NeiSep, well i read about it but i don't get can i connect to several servers without using Threading ? and also receive stuff for every thingy? ICS components are using corporative multitasking, meaning they do their work in background without using threads. Technically this means that

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Fastream Technologies
Hello, Is it really possible to build a NAT application with WinPcap/ICS? Doesn't it require a NDIS driver? Any comments? Regards, SubZero - Original Message - From: Widita Nugraha [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, May 01, 2006 8:10 PM Subject: [twsocket]

[twsocket] Problem with HTTP-server

2006-05-02 Thread Stefan Blankenagel
Hi, I am programming a http server with the ics components. I took the example webserver for my software. I want to use templates with tables and there is a function formdatagetrow. I also implemented this into my software but every time if I call the webpage I get an exception EInvalidCast.

[twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread George
Why I cant send email using SMTPCli inside IntraWeb app? The code works fine in a normal Win32 app but inside a IntraWeb app the OnRequestDone never fires. Whats wrong? Thanks -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Problem with HTTP-server

2006-05-02 Thread Francois Piette
EInvalidCast. Type conversion is not possible. The debugger stops at following statement: ClientCnx := Sender as TMyHTTPConnection; What is the exact exception message. I guess you didn't respect the class hierarchy. You must derive your class from THTTPConnection as TMyHTTPConnection does in

Re: [twsocket] Hi there need exampel or help with Threading

2006-05-02 Thread Wilfried Mestdagh
Cooperative Thanks. It is because of electromagnetic interferences in my keyboard :) --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread George
No Message pumb? All other components work correctly, also CleverComponents' clSMTP component works but I want to use ICS. Dont you have IntraWeb installed? Its by default installed in the Delphi IDE. Can you please make a test by yourself? Thanks If no event fire, then probably there is no

Re: [twsocket] Problem with HTTP-server

2006-05-02 Thread Stefan Blankenagel
What is the exact exception message. I guess you didn't respect the class hierarchy. You must derive your class from THTTPConnection as TMyHTTPConnection does in the demo. You also has to assign you class to THttpServer.ClientClass. Well the TMyHTTPConnection is derived form THTTPConnection:

Re: [twsocket] Problem with HTTP-server

2006-05-02 Thread Wilfried Mestdagh
Hello Stefan, In most events of Thttpserver you have Sender and Client arguments. Sender is the server, client is the HttpConnection. So probabley you want to do: ClientCnx := Client as TMyHTTPConnection; --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Problem with HTTP-server

2006-05-02 Thread Stefan Blankenagel
Problem solved. I called the wrong function starting the HTTP server and so TMyHTTPConnection was not allocated to clientclass. thanks Stefan -- 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] SMTP Client in IntraWeb application

2006-05-02 Thread Wilfried Mestdagh
Hello George, I dont know those other components. But ICS needs a working message pump. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, May 2, 2006, 14:10, George wrote: No Message pumb? All other components work correctly, also

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Widita Nugraha
I think LSP is far beyond my knowledge... How about using Winsock's RAW Socket capability? On 5/2/06, Francois Piette [EMAIL PROTECTED] wrote: In my opinion, it require a LSP (Layered Service Provider) which is far beyond WinPCap/ICS capabilities

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Widita Nugraha
Right now i can receive any incoming packets, edit those which need to be translated, and send it to the internet, but when the reply came to my mapped port on the NAT machine, Windows automatically sends a TCP Packet containing RST flag to the replier... On 5/2/06, Fastream Technologies

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Arno Garrels
Widita Nugraha wrote: I think LSP is far beyond my knowledge... How about using Winsock's RAW Socket capability? AFAIK RAW Sockets support writing/changing packets only in W2K. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On 5/2/06, Francois Piette [EMAIL

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Fastream Technologies
I wonder if LSP could be used with the Borland platform or is it DDK-specific? Regards, SZ - Original Message - From: Widita Nugraha [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 02, 2006 6:31 PM Subject: Re: [twsocket] Requesting an Ephemeral Port

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Arno Garrels
Widita Nugraha wrote: On 5/2/06, Arno Garrels [EMAIL PROTECTED] wrote: Widita Nugraha wrote: I think LSP is far beyond my knowledge... How about using Winsock's RAW Socket capability? AFAIK RAW Sockets support writing/changing packets only in W2K. not supported in Windows XP? RAW

Re: [twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread Francois PIETTE
No Message pumb? All other components work correctly, also CleverComponents' clSMTP component works but I want to use ICS. Does the other component are real event driven components using Windows messages ? I guess not. ICS make use of messages (winsock messages and others). So it doesn't

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Widita Nugraha
Actually all I need is just to make windows ignore any tcp/udp traffic at a range of ports (eg : 3 - 4). Does Winsock have any facility to do this? The only solution I thought about right now is disabling TCP/IP on the LAN adapter that connected to Internet(WAN). I receive all the

[twsocket] UDP SendTo() sends two packets?

2006-05-02 Thread Jack
I have the code to listen on a UDP port when the first button is clicked, and send a packet when the second button is clicked. It works fine except when the second button is clicked, it sends two packets (I captured that with Ethereal.) Is there anything I'm not doing right? -- Best regards,