Code

Here's a collection of some things I have written for various purposes and platforms.

ICMPSocket (Mac | Win | Documentation)

A full x-platform ICMP (Internet Control Message Protocol) implementation written in pure REALbasic! Typically, ICMP is used for Ping and Traceroute implementations, although many other uses exist and should be achievable with these classes. Currently Mac OS X (Mach-O) and Win32 (NT/2000/XP) are supported, with a little work Linux should work too. Examples included for Ping, Ping Scan and Traceroute. Also a RB2005 version which uses soft declares, to allow Mac OS X PEF as a target platform, is included.
Note: Massive credit to Aaron Ballman for all his help in the creation of these classes.

Airport Classes (Mac | Documentation)

These classes are based on Apple's private Airport Framework. They allow you to access all sorts of information about your local Airport networks and built-in Airport card. They also allow you to create WEP encryption keys, create AdHoc networks, join networks etc. (Requires either Kevin Ballard's CFPlugin or Thomas Reed's CoreFoundation Classes)

Help Tags (Mac | Win)
This example uses Mac OS (Carbon) Declares to show a help tag/tooltip in any position on the screen (instead of REALbasic's built-in control locations). The included example calculates which cell of a ListBox the user's mouse is currently over, and shows a tooltip of it's contents.

FTP Upload v1.1 (Mac | Win)
This is a reusable class and example project to give your RB app basic FTP upload support. It allows you to upload multiple files in a batch. It would seem there is a need for better binary support, so if someone has the time to add it, please let me know. Version 1.1 adds the ability to create remote folders.

DragWin (Mac | Win)
This is a subclass of the REALbasic "Window" class. It is a very quick and easy way of making your windows fully draggable. I wrote it to bridge the gap in functionality with textured (metal) windows from Cocoa to RB (because RB metal windows don't drag as they should). It will work for any type of window though.

CGI Example (Mac | Win | Working Example | ReadMe)
REALbasic 5.5 introduced the ability to write CGI (Common Gateway Interface) web-applications. This example details all the different things you must to to get a CGI app working. It also provides an easy to use programming interface for receiving web-parameters etc. Requires REALbasic 5.5. Compiled apps work on Mac OS X and Linux (With GTK 2.0+) via Apache. They also should run on Windows with the IIS webserver or Apache for Windows (if such a thing exists).

SMTP Example (Mac | Win)
This is an example project for RB 5. It demonstrates how easy it is to create a fully functional SMTP (mail sending) client in REALbasic. I have now implemented this example in Net Tool Box as one of it's 'Internet' protocol tools.

PWD Changer (Mac | Win)
This is a complete open source application for remotely changing passwords on Eudora Internet Mail Server (EIMS) and Stalker Internet Mail Server (SIMS) using the PWD protocol. It is the only known PWD client outside of the Eudora email application.

PWD Changer (PHP) (Zip | PasswordChangerPHP.phps)
This is my PHP port of the above PWD application. It can be integrated into any webmail application to allow the user to change their password.

2SMS Example (PHP) (Zip | 2smsExample.phps, 2SMS.phps)
This is an example PHP script for sending messages through the 2SMS text messaging system. Unlike the 2SMS examples, this code interprets the returned XML and provides the response in a human readable format. I have also written a GUI client (open source REALbasic), check it out if you don't want to use PHP.

 

Content engine designed and written by Charlie BoisseauPowered by Mac OS X ServerDNS Hosted by NamesCoGeo Visitors Map

© Charlie Boisseau 2008