forked from eclipse-omr/omr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Unix Implementation for sendto and recvfrom
Added omrsock_sendto and omrsock_recvfrom unix implementation - Both functions uses function calls to system sendto and recvfrom socket api functions. - Both functions checks for invalid arguments and saves errno using set_last_error and returns the bytes sent/received. - recvfrom function can take NULL for addrHandle argument when user does not want to know who the message was from. Issue: eclipse-omr#5128 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
- Loading branch information
Haley Cao
committed
May 3, 2020
1 parent
4a681a6
commit 1459658
Showing
2 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
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
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