If you are running under DOS, you can use the low-level IO routines for many COM port communications. (See help file for FOPEN(), FREAD(), FWRITE(), etc. and I believe there are some samples using modems in the GOODIES sample code directory.) If you are running under Windows - especially NT/2000/XP which don't allow direct access to the hardware, these routines may not work for COM ports.
Rick