Skip to content

Commit

Permalink
Added Unix Implementations for Socket Opt Functions
Browse files Browse the repository at this point in the history
Added internal functions and implementations for sockopt functions

- Added 4 internal functions: one to retrieve OMR to OS mapping
  for socket levels, one to retrieve OMR to OS mapping for socket
  options, two to wrap the code for the socket option functions
  to reduce clutter.
- Added simple implemnentations for the 6 socket options functions.

Issue: eclipse-omr#5158

Signed-off-by: Haley Cao <haleycao88@hotmail.com>
  • Loading branch information
Haley Cao committed Jul 2, 2020
1 parent 2883f9f commit a6a17ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion port/unix/omrsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,6 @@ get_opt(struct OMRPortLibrary *portLibrary, omr_os_socket sock, int32_t optlevel

return 0;
}

int32_t
omrsock_setsockopt_int(struct OMRPortLibrary *portLibrary, omrsock_socket_t handle, int32_t optlevel, int32_t optname, int32_t *optval)
{
Expand Down

0 comments on commit a6a17ec

Please sign in to comment.