-
Notifications
You must be signed in to change notification settings - Fork 397
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
Added Unix Implementations for omrsock_connect and omrsock_accept functions #5066
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 tasks
8 tasks
96ddbbb
to
412230d
Compare
6890210
to
47e2592
Compare
rwy7
reviewed
May 5, 2020
rwy7
reviewed
May 5, 2020
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 5, 2020
Added a new definition to expose additional functions - Test: Add _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions such as inet_pton. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 6, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
9 tasks
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 6, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 6, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 9, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 14, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 19, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 19, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 20, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
rwy7
reviewed
May 21, 2020
rwy7
reviewed
May 21, 2020
rwy7
reviewed
May 21, 2020
@rwy0717 Ready for another round of review. |
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
May 25, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
rwy7
reviewed
May 25, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
-Changed returned uint8_t array name in argument. Signed-off-by: Haley Cao <[email protected]>
@rwy0717 Ready for another round of review. |
rwy7
reviewed
May 25, 2020
omrsock_connect and omrsock_accept implemented - omrsock_connect allows the client application to attempt to connect with a server address. - omrsock_accept allows the server application to accept incoming connection requests. It also allocates a socket structure for the new socket that the server uses to talk to the connected client. The old socket is still used to listen to requests. Issue: eclipse-omr#5043 Signed-off-by: Haley Cao <[email protected]>
Added test cases for connect and accept functions - Added a test case for setting up an IPv4 stream connection, using a INADDR_ANY server and localhost client. - Added a test case for setting an IPv4 datagram connection, although no real connection is set. Used connect function to set up peer address. Issue: eclipse-omr#5043 Signed-off-by: Haley Cao <[email protected]>
rwy7
approved these changes
May 25, 2020
@genie-omr build all |
caohaley
pushed a commit
to caohaley/omr
that referenced
this pull request
Jun 15, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
kbeaton2-UNB3035
pushed a commit
to CAS-Atlantic/omr
that referenced
this pull request
Jun 23, 2020
Added a new definition to expose additional functions - Added _OPEN_SYS_SOCK_IPV6 definition to ZOS to expose additional functions and definitions such as inet_pton and sockaddr_storage according to documentations. - Added void pointer casting to inet_pton argument. - Added new return case where slightly more details are returned to user. - Added a conversion to allow proper enocding by ZOS. Issue: eclipse-omr#5066 Signed-off-by: Haley Cao <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
omrsock_connect
andomrsock_accept
implementations which simply calls the system socket functions and returns appropriate error codes other thanomrsock_accept
which also allocates an OMRSocket structure containing the returned new socket for client server communications.Issue: #5043