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 tcp server #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add tcp server #43

wants to merge 4 commits into from

Conversation

annaborn
Copy link

No description provided.

@annaborn annaborn mentioned this pull request Mar 11, 2021
@doudou
Copy link
Member

doudou commented Mar 11, 2021

Hi @annaborn. Thanks !

Please write a proper unit test, not a separate command that will not be run by any continuous integration.

I'm pretty sure you can adapt the UDP tests from test_Driver.cpp

@doudou doudou self-requested a review May 8, 2021 02:43
Comment on lines +346 to +347
int option = 1;
setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, &option, sizeof(option));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't REUSEADDR by default.

You can use the URI options to enable it optionally if you'd like to.

@doudou
Copy link
Member

doudou commented Jun 23, 2021

Hi @annaborn. Thanks !

Please write a proper unit test, not a separate command that will not be run by any continuous integration.

I'm pretty sure you can adapt the UDP tests from test_Driver.cpp

Just a reminder ... this is what's missing to get it merged ...

@doudou
Copy link
Member

doudou commented Nov 1, 2021

Just a reminder ... this is what's missing to get it merged ...

Ping

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.

2 participants