★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Networking/VMSify.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Networking: VMSify
ADC Membership Technical Business Join ADC Sitemap
Search
Networking
ADC Resources
Sample Code

VMSify

download (17.5 KB)

Version:

1.0.1b1

Date:

Monday, May 29, 2000

Description:

VMSify is a sample STREAMS module that actually does something useful (well, noticable). VMSify is largely derived from the StreamNOP source, but it is extended to demonstrate simple address detection and data munging.

VMSify's functionality is relatively silly. It detects whether the stream is a telnet session (looking for outgoing connections on port 23) and, if it is, upper cases all the data returned from the server. The upshot is that if you install the software and log into a UNIX machine using a Mac OS telnet application, all the returned text is in upper case, just like it would be if you were logging into a VMS machine.

Open Transport 1.1.1 or higher

STREAMS plug-in, STREAMS module, Open Transport, autopush




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE