Most of tutorials come with simple client and server
sample projects. The top 6 videos are essential for you to get used to SocketPro
programming style. We recommend you play these video tutorials one by one
starting from the No 1.
|
No. |
Video |
Contents |
| 1 |
Get Started Video
Video Text |
Video tutorial – Getting started
with SocketPro
-
Installation
-
Manually register
64bit COM dlls on client side
-
Manually distribute
64bit server system dlls
-
Put
SocketPro adapters into .NET global
assembly cache (gacutil.exe)
-
Start
remoteconnector on port 17001
-
Compile sample
projects using Visual Studio 2005
-
Test sample
applications (32bit and 64bit) compiled from Visual Studio 2005
-
Compile sample
projects using Visual Studio 2010
(useLegacyV2RuntimeActivationPolicy="true")
-
Test sample
applications (32bit and 64bit) compiled from Visual Studio 2020
|
|
2 |
Tutorial 1 Video
C# Code
VB.NET
Code Detailed reference |
Video tutorial 1 -- Create your first client and
server applications
- Create skeleton codes for client and server applications by use
of uidparser.exe and a uid file.
- Understand fast and slow requests
- Understand M_Ix_Ry
- Understand what static or global variables should be protected
- Know how to set delegates for tracking basic communication
events
- Know asynchronous communication style with SocketPro
- Understand the method WaitAll
- Understand requests batch and how to use it
|
| 3 |
Tutorial 2-1 Video
C# Code
VB.NET Code
Detailed reference |
Video tutorial 2-1 -- Secure communication between client and server
- Use SSL/TLSv1 to encrypt data communication between client and
server
- Authenticate a client with user id and password at server side
- Authenticate a server by verifing SSL/TLSv1 certificate chain at
client side
|
|
4 |
Tutorial 2-2 Video
C# Code
VB.NET Code
Detailed
reference |
Video tutorial 2-2 -- Built-in chat service and anonymous delegate as
well as Lambda expression
- Use SocketPro built-in chat service for real-time
messages among clients
- Use anonymous delegate and Lambda expression at client
side
|
| 5 |
Tutorial 3-1 Video C#
Code
VB.NET Code
Detailed reference |
Video tutorial 3-1 -- Serialization of Complex Structures in
SocketPro
- Serialize complex structures with .NET serialization
mechanism
- Serialize complex structures with SocketPro adapter
interface IUSerializer
|
|
6 |
Tutorial 3-2 Video
C# Code
VB.NET Code
Detailed reference |
Video tutorial 3-2 -- Exchange a large number of items between client
and server
- Manually add two requests with request ids,
idUploadBatchItems and idDownloadBatchItems
- Upload many items from client to server in batches
- Download many items from server to client in batches
- Monitor request Cancel and socket close event during
downloading
- Increase network throughput for fast exchanging items
between client and server
- Avoid locking static/global/sharable variables by request
partition methods one and two to remove all of thread-related
problems
|
| 7 |
Latency Video
Detailed Reference |
Video demo -- Reducing latency for fast UI response and remoting
ADO.NET objects by SocketPro helper classes
- Introduction of SocketPro classes CAdoClientPeer and
CAdoAsyncHandler for bi-directional remoting ADO.NET objects like
DataReader, DataTable and DateSet.
- Demonstration of usage of the above two classes.
- Reducing latency for fast UI response at client side.
|
|
8 |
Cancel Video
Detailed reference |
Video demo -- Cancel asynchronous requests with
progress reporting without losing session data
- Cancel asynchronous requests without losing session data
- Report client computation progress from server side
|