-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jack Jiang
committed
Sep 22, 2020
1 parent
ecda60f
commit ef516ac
Showing
15 changed files
with
123 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+936 Bytes
(100%)
...eproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+12 KB
(100%)
demo_src/TCP_Client/MobileIMSDK4iDemo_tcp/MobileIMSDK4iLib/libMobileIMSDK4i_tcp.a
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
demo_src/TCP_Client/MobileIMSDK4iDemo_tcp/MobileIMSDK4iLib/usr/local/include/TCPFrameCodec.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// ---------------------------------------------------------------------- | ||
// Copyright (C) 2020 即时通讯网(52im.net) & Jack Jiang. | ||
// The MobileIMSDK_TCP (MobileIMSDK v5.x TCP版) Project. | ||
// All rights reserved. | ||
// | ||
// > Github地址: https://github.com/JackJiang2011/MobileIMSDK | ||
// > 文档地址: http://www.52im.net/forum-89-1.html | ||
// > 技术社区: http://www.52im.net/ | ||
// > 技术交流群: 320837163 (http://www.52im.net/topic-qqgroup.html) | ||
// > 作者公众号: “即时通讯技术圈】”,欢迎关注! | ||
// > 联系作者: http://www.52im.net/thread-2792-1-1.html | ||
// | ||
// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 | ||
// ---------------------------------------------------------------------- | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface TCPFrameCodec : NSObject | ||
|
||
+ (NSData *)encodeFrame:(NSData *)bodyDataOfFrame; | ||
+ (int)decodeBodyLength:(NSData *)headerDataOfFrame; | ||
|
||
+ (void)setTCP_FRAME_FIXED_HEADER_LENGTH:(int)l; | ||
+ (int)getTCP_FRAME_FIXED_HEADER_LENGTH; | ||
|
||
+ (void)setTCP_FRAME_MAX_BODY_LENGTH:(int)l; | ||
+ (int)getTCP_FRAME_MAX_BODY_LENGTH; | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+12 KB
(100%)
sdk_binary/Client_TCP/ios/MobileIMSDK4iLib/libMobileIMSDK4i_tcp.a
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
sdk_binary/Client_TCP/ios/MobileIMSDK4iLib/usr/local/include/TCPFrameCodec.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// ---------------------------------------------------------------------- | ||
// Copyright (C) 2020 即时通讯网(52im.net) & Jack Jiang. | ||
// The MobileIMSDK_TCP (MobileIMSDK v5.x TCP版) Project. | ||
// All rights reserved. | ||
// | ||
// > Github地址: https://github.com/JackJiang2011/MobileIMSDK | ||
// > 文档地址: http://www.52im.net/forum-89-1.html | ||
// > 技术社区: http://www.52im.net/ | ||
// > 技术交流群: 320837163 (http://www.52im.net/topic-qqgroup.html) | ||
// > 作者公众号: “即时通讯技术圈】”,欢迎关注! | ||
// > 联系作者: http://www.52im.net/thread-2792-1-1.html | ||
// | ||
// "即时通讯网(52im.net) - 即时通讯开发者社区!" 推荐开源工程。 | ||
// ---------------------------------------------------------------------- | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface TCPFrameCodec : NSObject | ||
|
||
+ (NSData *)encodeFrame:(NSData *)bodyDataOfFrame; | ||
+ (int)decodeBodyLength:(NSData *)headerDataOfFrame; | ||
|
||
+ (void)setTCP_FRAME_FIXED_HEADER_LENGTH:(int)l; | ||
+ (int)getTCP_FRAME_FIXED_HEADER_LENGTH; | ||
|
||
+ (void)setTCP_FRAME_MAX_BODY_LENGTH:(int)l; | ||
+ (int)getTCP_FRAME_MAX_BODY_LENGTH; | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-2.44 KB
(99%)
...eproj/project.xcworkspace/xcuserdata/jackjiang.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters