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

Assignment 26: Add error handling and some extra credits #13

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

Conversation

Phidelux
Copy link
Contributor

@Phidelux Phidelux commented Feb 6, 2020

This PR introduces various improvements and fixes:

  • Fix formatting
  • Add missing includes
  • Use of getaddrinfo to setup server addrinfo
  • Pass port as commandline argument
  • Add missing error handling
  • Add missing return statement
  • Monitor connecting and disconnecting clients
  • Accept parallel connections

@Phidelux
Copy link
Contributor Author

Phidelux commented Feb 7, 2020

Hey,

thanks for the quick merge. I really enjoyed looking threw the exercises. However, I forgot updating the documentation of assignment 26. I will add this during the weekend. Should i split up the necessary changes like fixes, error handling and readability improvements and the extensions like parallel connections and client monitoring? I think the later two would make a good 'Extra Credits' section.

Best regards
Andreas

@h0mbre
Copy link
Owner

h0mbre commented Feb 7, 2020 via email

@Phidelux
Copy link
Contributor Author

Good morning.

I just applied all reasonable patches, like formatting, return value, missing includes, etc., to the original source and added a separate source for the extra credits. I also updated the README to include all instructions for the extra credits at the end of the document. For the references to the needed function calls i used the linux manual pages hosted by die.net.

Regards
Andreas

@Phidelux Phidelux changed the title Assignment 26: Accept parallel connections Assignment 26: Add error handling and some extra credits Feb 10, 2020
@Phidelux
Copy link
Contributor Author

Phidelux commented Apr 8, 2020

Any update on this one?

@Phidelux
Copy link
Contributor Author

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.

None yet

2 participants