Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 31 - Serial Endpoint Reference / Serial-Specific Commands
/


I_SetSerialXOffState

This command sets the XOFF state of the serial port. Setting XOFF is equivalent to receiving an XOFF character, and clearing XOFF is equivalent to receiving an XON character. A value of kOTSerialForceXOffFalse unconditionally clears the XOFF state, while a value of kOTSerialForceXOffTrue unconditionally sets it. The following line of code unconditionally sets the XOFF state:

OTIoctl(theSerialEndpoint, I_SetSerialXOffState, kOTSerialForceXOffTrue);
Setting the XOFF state is equivalent to using a serial driver control call with a csCode value of 21, and clearing the XOFF state is equivalent to using a csCode value of 22.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998