- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Associating a Telnet device with a terminal server...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 11:14 AM
тАО11-17-2004 11:14 AM
Associating a Telnet device with a terminal server port
Any ideas out there?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 01:26 PM
тАО11-17-2004 01:26 PM
Re: Associating a Telnet device with a terminal server port
TELNET CREATE_SESSION is somewhat limited. It's really only useful for creating devices to send date to printers. I've never been able to get it to work properly for a transmit/receive device.
Even LAT, strictly speaking, requires a program to perform the right LAT $QIO calls to establish the session "properly". In practice you can usually get away with creating the LAT device, OPENing it and writing, but strictly speaking that's not supported.
The "right" way to do this is with a purpose built program issuing $QIOs to communicate with the device. Maybe you can build a little I/O package into your application to hide the details?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 01:57 PM
тАО11-17-2004 01:57 PM
Re: Associating a Telnet device with a terminal server port
If you define a listener port (I think) on the
DECserver for the particular port you can then
address it via "a.b.c.d:port". Obviously you
will need to modify the code. We have sucessfully
converted some LAT stuff to IP using the NETLIB
package (available on the Freeware V4, or get
the latest from Hunter's site or Madgoat).
Using NETLIB can make your code IP stack independent
and it is easy to use. As John suggests, you
may want to create a "layer" within
the application to hide this stuff from the
main code.
Regards
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 06:50 PM
тАО11-17-2004 06:50 PM
Re: Associating a Telnet device with a terminal server port
You can use the following command to create a TNA and associate to a port:
$telnet ipaddress /create_ses/protocol=none-
portnumber unit
The created device will be named TNAunit:
To delete the device:
$telnet /delete unit
I have used this for DECserver 90TL.
A more reliable but more complicated way is to within the program code create a connection to a DECserver port. I also have examples to that if you are interested.
In all cases you must define the DECserver to listen for telnet requests.
Kjell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 07:12 PM
тАО11-17-2004 07:12 PM
Re: Associating a Telnet device with a terminal server port
John and David are right. The "right" way is write a program. You can use $QIO s or using
sockets (please see various "client" examples in the TCPIP or UCX directory of SYS$EXAMPLES).
If you want try with the TELNET CREATE_SESSION
then try to write some dummy data to the created device. Do this yust after creating the device. This will (probably) establish the connection to the port and you will be able to receive data from it.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2004 08:23 AM
тАО11-20-2004 08:23 AM
Re: Associating a Telnet device with a terminal server port
The program at the following URL
http://h18000.www1.hp.com/support/asktima/communications/00A1302D-E940C6C9-1C02A1.html
works both in transmit and receive ways.
Hoping this can help.
Philippe