<b>(a)</b> void IrSetConTypeLMP (IrConnect* con); void IrSetConTypeTTP (IrConnect *con); <b>(b)</b> IrStatus IrConnectReq(UInt refnum, IrConnect* con, IrPacket* packet, Byte credit); <b>(c)</b> IrStatus IrConnectRsp (UInt refnum, IrConnect* con, IrPacket* packet, Byte credit); <b>(d)</b> IrStatus IrDataReq (UInt refnum, IrConnect* con, IrPacket* packet); Word IrMaxRxSize(UInt refnum, IrConnect* con); <b>(e)</b> void IrLocalBusy (UInt refnum, BOOL flag); <b>(f)</b> BOOL IrIsLapConnected (UInt refnum); BOOL IrIsMediaBusy (UInt refnum); BOOL IrIsNoProgress(UInt refnum); BOOL IrIsRemoveBusy(UInt refnum); Word IrMaxRxSize(UInt refnum, IrConnect* con);
Example 3: (a) Using the IrSetConTypeLMP or IrSetConTypeTTP functions; (b) initiating a connection peer with a call to IrConnectReq; (c) accepting the connection via IrConnectRsp; (d) imitating a conversation using IrDataReq; (e) IrLocalBusy prototype; (f) prototypes of functions available for protocol stack.
Copyright © 1999, Dr. Dobb's Journal