FastScpSession Client and Server
The
TestFastScpClient and TestFastScpServer projects are used for both
QA/Testing and demo of FAST SCP implementation.
The
TestFastScpServer is a general purpose "echo server" which can be used to
test other FAST implementations. Below describes how TestFastScpClient
and TestFastScpServer work, step by step:
- TestFastScpClient connects to TestFastScpServer through a
TCP connection described by IP address and port.
- TestFastScpClient and TestFastScpServer exchange "Hello"
messages and TestFastScpClient sends the dynamic template definition
message to TestFastScpServer.
- TestFastScpClient then sends a message with randomly filled fields
to TestFastScpServer. TestFastScpServer receives the message and
aends back a duplicated message.
- TestFastScpClient received the duplicated message, compare it to
the original composed message. If there is a difference, reports error;
otherwise, repeat the testing by sending another randomly composed message.