Skip to content

Commit 28813c2

Browse files
committed
• Added code comments.
1 parent df0c4a6 commit 28813c2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

SSYInterappClient.m

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ + (BOOL)sendHeaderByte:(char)txHeaderByte
4242
}
4343
} while (!remotePort) ;
4444

45+
/*If the system logs a message like this:
46+
"*** CFMessagePort: dropping corrupt reply Mach message (***)"
47+
Check out this:
48+
https://github.com/opensource-apple/CF/blob/master/CFMessagePort.c
49+
to decode the (***) */
50+
4551
if (!remotePort) {
4652
ok = NO ;
4753
result = SSYInterappClientErrorCantFindReceiver ;

SSYInterappServer.m

+7
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,13 @@ - (id)initWithPortName:(NSString*)portName
181181
SSYInterappServerCallBackCreateData,
182182
&context,
183183
NULL) ;
184+
185+
/*If the system logs a message like this:
186+
"*** CFMessagePort: dropping corrupt reply Mach message (***)"
187+
Check out this:
188+
https://github.com/opensource-apple/CF/blob/master/CFMessagePort.c
189+
to decode the (***) */
190+
184191
if (_port) {
185192
break ;
186193
}

0 commit comments

Comments
 (0)