[twsocket] Telnet Client

2009-05-01 Thread Mike Lenox
More info concerning my original problem which is ... My application uses a TTnCnx client object to connect (hundreds of times per day) to a remote device to retrieve data. On rare occasions the pair seem to get stuck in a connected state and stay there indefinitely. The normal procedure is

Re: [twsocket] Telnet Client

2009-05-01 Thread Francois PIETTE
MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: Mike Lenox mle...@ezriver.com To: ICS support mailing twsocket@elists.org Sent: Friday, May 01, 2009 12:44 PM Subject: [twsocket] Telnet Client More info concerning my

Re: [twsocket] Telnet problems

2006-11-18 Thread Markus Humm
Francois replied: I think TTnScript is the way to go. You can dynamically add/remove events according to which screen you detect. If you don't use TTnScript, has a look at his source code to understand how to get hand on the input stream to chack for data. I also uploaded a modified

Re: [twsocket] Telnet problems

2006-11-18 Thread Francois PIETTE
I already looked at TnScript 2-3 minutes, but I think this only works if the Telnet session is designed like this: Step 1 - Step 2 - Step 3... so each step is a screen completely different from each other. TTnScript associate events to strings detected in the data flow no matter how it is

[twsocket] Telnet problems

2006-11-17 Thread Humm, Markus
Hello, I've some big problems with the telnet components, the biggest one being the lack of documentation. What I want to do is the following: 1. start a telnet session (that one works) 2. have a list of commands 3. loop through the list and carry out one command after the other 4. display

Re: [twsocket] Telnet problems

2006-11-17 Thread Francois Piette
Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Humm, Markus [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, November 17, 2006 11:46 AM Subject: [twsocket] Telnet problems Hello, I've some big problems

[twsocket] Telnet, Ping and ARP

2006-11-05 Thread Markus Humm
Hello, I'm looking for good ways to write a device configuration program using ICS. The devices to be configured can be configured via Telnet and the IP can be assigned via creating some arp entry for it and the first packet sent to the device sets its address. What I'd like to do is: - set the

Re: [twsocket] Telnet, Ping and ARP

2006-11-05 Thread Francois PIETTE
I'm looking for good ways to write a device configuration program using ICS. The devices to be configured can be configured via Telnet and the IP can be assigned via creating some arp entry for it and the first packet sent to the device sets its address. What I'd like to do is: - set the

Re: [twsocket] Telnet

2005-05-25 Thread Arnoldo - Optextil
: [twsocket] Telnet I have found this article explainign how to inherit from a socket handle: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/shared_sockets_2.asp -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Francois Piette [EMAIL

Re: [twsocket] Telnet

2005-05-25 Thread Arnoldo - Optextil
Ok, no problem, but I send a email to you two hours earlier, in private, suggesting this... :) Arnoldo - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, May 25, 2005 11:35 AM Subject: Re: [twsocket] Telnet

Re: [twsocket] Telnet

2005-05-24 Thread Francois Piette
mailing twsocket@elists.org Sent: Tuesday, May 24, 2005 3:23 PM Subject: Re: [twsocket] Telnet Hi, About redirect the connection, I created two small projects, exemplify the problem ! Server: unit UServer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics

Re: [twsocket] Telnet

2005-05-24 Thread Dan
[EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 24, 2005 2:23 PM Subject: Re: [twsocket] Telnet Hi, About redirect the connection, I created two small projects, exemplify the problem ! Server: unit UServer; interface uses Windows, Messages, SysUtils

Re: [twsocket] Telnet

2005-05-24 Thread Francois PIETTE
] To: ICS support mailing twsocket@elists.org Sent: Tuesday, May 24, 2005 4:33 PM Subject: Re: [twsocket] Telnet ShellExecute(Application.Handle, 'open', @ClientFileName, @ClientParams, @ClientDir, SW_SHOW); I'm not sure you can use ShellExecute to inherit handles. Use CreateProcess which has

Re: [twsocket] Telnet

2005-05-21 Thread Francois PIETTE
: Friday, May 20, 2005 10:31 PM Subject: Re: [twsocket] Telnet Hi, Arno In others two projects, I worked with the examples, a server, a client, client connect to server, server establish a connection and return to listen... In this case, the connections simultaneos in server work perfect

Re: [twsocket] Telnet

2005-05-21 Thread Francois PIETTE
I'm not reinventing the wheel. I saw your samples programs about TWSocketServer too. My problem not is work with various instances of clients. My problem is when the client connect the server, the server redirect the connection to another application. I have the Socket.Accept, I run another

Re: [twsocket] Telnet

2005-05-20 Thread Francois Piette
I'm using ICS - TWSocket and I wrote a server that listen on port, waiting a connection. A client telnet connect to this IP/port and the server execute another application to receive this connection. The server is a single receive of connections. Question 1 = Did you already make something

Re: [twsocket] Telnet

2005-05-20 Thread Francois PIETTE
- Optextil [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, May 20, 2005 4:24 PM Subject: Re: [twsocket] Telnet François, About Question 2, Ok ! I saw the source code of EmulVT, thanks... But the question 1, OnSessionAvailable on server, I execute this code below

Re: [twsocket] Telnet

2005-05-20 Thread Arno Garrels
Arnoldo - Optextil wrote: Hi François, [snip a lot] Resuming, client connect to server, server execute another application. The another application establishing the connection e work with the client. Have a sample about this ? As far as I know, there's not such an example. But why do you

Re: [twsocket] Telnet

2005-05-20 Thread Arnoldo - Optextil
... Excuse-me my bad english and thanks for the patience ! Arnoldo - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, May 20, 2005 4:39 PM Subject: Re: [twsocket] Telnet Arnoldo - Optextil wrote: Hi François, [snip a lot] Resuming

[twsocket] Telnet

2005-05-19 Thread Arnoldo - Optextil
I'm using ICS - TWSocket and I wrote a server that listen on port, waiting a connection. A client telnet connect to this IP/port and the server execute another application to receive this connection. The server is a single receive of connections. Question 1 = Did you already make something