TCP/IP module updates for Linux and Windows #387

Merged
gaisser merged 18 commits from mueller/tcpip-updates into development 2021-03-16 15:19:40 +01:00
Owner

Refactored TCP/IP code as preparation for TCP code.

  • More conformant to recommended way to set up a server
    by using getaddrinfo instead of setsockopt (see https://en.wikipedia.org/wiki/Getaddrinfo)
  • Possible bugfix for Linux and Windows which explains why replies were not coming back: Sender struct is now assigned completely in the bridge instead of just assigning the address component of the struct
  • Code is also a lot more clean, common code was packaged into separate files and error handling was unified instead of being split across multiple functions. Focus here was to provide developers with immediate printout information about error code, this still has room for improvement
  • Missing mutex lock was added for Windows code.
  • Unused fields removed
  • Windows changes tested on Windows 10, Linux changes tested on a Raspberry Pi
Refactored TCP/IP code as preparation for TCP code. - More conformant to recommended way to set up a server by using `getaddrinfo` instead of `setsockopt` (see https://en.wikipedia.org/wiki/Getaddrinfo) - Possible bugfix for Linux and Windows which explains why replies were not coming back: Sender struct is now assigned completely in the bridge instead of just assigning the address component of the struct - Code is also a lot more clean, common code was packaged into separate files and error handling was unified instead of being split across multiple functions. Focus here was to provide developers with immediate printout information about error code, this still has room for improvement - Missing mutex lock was added for Windows code. - Unused fields removed - Windows changes tested on Windows 10, Linux changes tested on a Raspberry Pi
muellerr added the
bug
feature
labels 2021-03-12 18:36:24 +01:00
muellerr added 62 commits 2021-03-12 18:36:25 +01:00
muellerr added a new dependency 2021-03-12 18:39:52 +01:00
muellerr changed title from TCP IP updates for Linux and Windows to TCP/IP module updates for Linux and Windows 2021-03-12 18:40:29 +01:00
gaisser added this to the ASTP 1.0.0 Local pools milestone 2021-03-16 15:09:36 +01:00
gaisser self-assigned this 2021-03-16 15:09:39 +01:00
gaisser added 1 commit 2021-03-16 15:19:32 +01:00
gaisser merged commit b757c5523c into development 2021-03-16 15:19:40 +01:00
gaisser deleted branch mueller/tcpip-updates 2021-03-16 15:19:45 +01:00
Sign in to join this conversation.
No description provided.