Skip to content

Conversation

@changchengx
Copy link

Description

Update server_tcp.c example with small changes

What

_Subject: In tests/extra_api/server_tcp.c, update the code for readability.

Why ?

Make tests/extra_api/server_tcp.c more easy to be understood.

How ?

s/IPPROTO_IP/IPPROTO_TCP & s/PF_INET/AF_INET .etc.

Change type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Check list

  • Code follows the style de facto guidelines of this project
  • Comments have been inserted in hard to understand places
  • Documentation has been updated (if necessary)
  • Test has been added (if possible)

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