Re: [twsocket] Connection OK but no data

2009-04-22 Thread Francois PIETTE
> I looked at the example TcpServ1 and it seems pretty straight forward. I > used that as my model. I do understand that the OnDataAvailable event is > the > one from the instantiated client socket, which is assigned in the > OnClientConnect event of the server socket. But I can not understand why

Re: [twsocket] Using a SmartCard with ICS-SSL (was SSL PEM error)

2009-04-22 Thread Arno Garrels
Dod wrote: > Here are the OpenSSL commands : Thanks. I tried to implement dynamic Engines however it seems getting the PIN code from a simple callback is the big problem when implementing dynamic engines with key capabilities. I thought it was easier until I realized that the OpenSSL guys intro

Re: [twsocket] multipart/alternative et Outlook Express

2009-04-22 Thread Fabrice Vendé
Hello, Yes I think the change is : if FEmailFiles.Count = 0 then HdrLines[I] := 'Content-Type: multipart/related; ' + 'type="multipart/alternative";' else HdrLines[I] := 'Content-Type: multipart/mixed;'; in : p

Re: [twsocket] Connection OK but no data

2009-04-22 Thread Alex Greenspan
Hi Francois, I looked at the example TcpServ1 and it seems pretty straight forward. I used that as my model. I do understand that the OnDataAvailable event is the one from the instantiated client socket, which is assigned in the OnClientConnect event of the server socket. But I can not understand

Re: [twsocket] Connection OK but no data

2009-04-22 Thread Alex Greenspan
Hi Wilfried, and thanks for your response. No I do not know anything about the message pump. I started from the small sample code for the server and did not see anything about message pump, though I have seen other references to it. How to implement? I am using Delphi 7 by the way. -Alex On Wed

Re: [twsocket] Connection OK but no data

2009-04-22 Thread Francois Piette
> I am using TWSocketServer to listen and connect to Rabbit Controllers > (clients). I can establish a connection but I do not receive the subsequent > strings, nor can I send any strings. The OnSendData event does not even > trigger when I use the SendStr method of the server instantiated client.

Re: [twsocket] Connection OK but no data

2009-04-22 Thread Wilfried Mestdagh
Hello Alex, Are you sure you have a working message pump? If not no event will fire. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, April 22, 2009, 15:45, Alex Greenspan wrote: > I am using TWSocketServer to listen and connect to

[twsocket] Connection OK but no data

2009-04-22 Thread Alex Greenspan
I am using TWSocketServer to listen and connect to Rabbit Controllers (clients). I can establish a connection but I do not receive the subsequent strings, nor can I send any strings. The OnSendData event does not even trigger when I use the SendStr method of the server instantiated client. Any idea

Re: [twsocket] Using a SmartCard with ICS-SSL (was SSL PEM error)

2009-04-22 Thread Dod
Hello Arno, I am using Delphi 7 / ICS 6 The SmartCard I am working on is the French Doctor's HealthCare professionnal card. I had to manually extract the Authentication certificate using some .cert export tool because for unknown reason OpenSSL can't access it directly, so once ext