Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ASIO Socket Transport Implementation #21

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

hankhsu1996
Copy link
Owner

This PR introduces a new concrete implementation of the Transport layer using ASIO sockets. This implementation parallels the existing Unix domain socket transport and provides support for TCP/IP socket communication.

Changes:

  • Added SocketTransport Class:

    • Implements the Transport interface using ASIO sockets.
    • Provides connection and message handling for both client and server modes.
    • Includes methods for connecting, binding, listening, sending, and receiving messages.
  • Updated Examples:

    • Added examples demonstrating how to use the new SocketTransport implementation for both client and server scenarios.
  • Tests:

    • Included unit tests using Catch2 to validate the functionality of the SocketTransport class.

@hankhsu1996 hankhsu1996 merged commit 1ac4ac2 into main Aug 7, 2024
5 checks passed
@hankhsu1996 hankhsu1996 deleted the feature/socket-transport branch August 7, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant