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

Adding TCP support #45

Merged
merged 13 commits into from
Jul 13, 2024
Merged

Adding TCP support #45

merged 13 commits into from
Jul 13, 2024

Conversation

maxsharabayko
Copy link
Owner

@maxsharabayko maxsharabayko commented Feb 18, 2022

Added TCP socket to the list of available protocols. As it works in a "buffer" mode, app metrics would not work for it. This requires additional handling if ever required.

@maxsharabayko maxsharabayko marked this pull request as ready for review February 22, 2022 08:58
Copy link
Owner Author

Quality gate Quality gate: Passed

5 Issues

  • Code issue 5 Code issues

Details

void set_blocking_flags(bool is_blocking) const;

private:
SOCKET m_bind_socket = -1; // INVALID_SOCK;

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
Comment on lines +393 to +396
//output << stats.tcpi_min_rtt << ',';
//output << stats.tcpi_bytes_acked << ',';
//output << stats.tcpi_bytes_received << ',';
//output << stats.tcpi_delivery_rate << ',';

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
#include "socketoptions.hpp"

#ifndef _WIN32
//#include <linux/tcp.h>

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@maxsharabayko maxsharabayko merged commit 8797e03 into master Jul 13, 2024
6 checks passed
@maxsharabayko maxsharabayko deleted the develop/tcp branch July 13, 2024 10:13
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