Connect User Data Option
This rarely used option that may be needed for comm tools that wish to build upon the base IrDA comm tool. This is the *kCMOIrDAConnectUserData
option, which is used during connect time to send/receive "out of band" data. See the IrDA documentation to get an idea of how this would be used (specifically IrTinyTP and IrComm).
The fieldslocal option := {
label: kCMOIrDAConnectUserData, // IrDA connect user data type: 'option, opCode: opSetRequired, data: { arglist: [ 3, // length of data; strlen("foo") "foo", // data string ], typelist: [ 'struct,
'uLong, // fDataLength
; default is 0 ['array, 'char, 0], // fData ], }, };
fDataLength
andfData
are used together to describe data to be sent/received during connect/listen.
![]()
![]()
![]()
![]()
© Apple Computer, Inc.
26 APR 1997Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help