-
Notifications
You must be signed in to change notification settings - Fork 396
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
OMRSOCK API: Implement omrsock_read and omrsock_recv functions on Unix #5069
Labels
Comments
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Apr 27, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Apr 27, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
This was referenced Apr 27, 2020
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Apr 29, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Apr 29, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 3, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 3, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 3, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 3, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
9 tasks
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 19, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 19, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 25, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 25, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 25, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 25, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 26, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 26, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 26, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
May 28, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 4, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 4, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 4, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 4, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 8, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 8, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 9, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 9, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 11, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 11, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 11, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 11, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 14, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 14, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 15, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 19, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 19, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 19, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 19, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 19, 2020
Added Send and Recv to OMRSOCK API - Simply calls the system socket api send and recv. - System send and recv will block until the message is sent or received. - Added small argument testing and set the error codes from system socket api. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 19, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jun 22, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
caohaley
pushed a commit
to caohaley/omr
that referenced
this issue
Jul 2, 2020
- Contains a short test for stream communications between server and client. - Server sends a message to client and client receives the message and then a comparison is done to see if the messages match. - There is a while loop which loops if the message for some reason was not completely sent. In that case, it is the users' responsibilities to resend the remaining message. Issue: eclipse-omr#5069 Signed-off-by: Haley Cao <haleycao88@hotmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Working on Issue: #4102
/cc @rwy0717 @mpirvu
Omrsock functions to be implemented:
omrsock_send
,omrsock_recv
Descriptions
omrsock_send
andomrsock_recv
are only for connected socket communication. If the sockets are not connected,omrsock_sendto
andomrsock_recvfrom
should be used.omrsock_send
sends a message of specified length, with specified flags if there are any and returns the number of bytes actually sent.omrsock_recv
blocks and waits for a message to be received into the buffer that that user pre-allocates that has specified in length.Implementation Details:
The
omrsock_send
andomrsock_recv
function will be set up to call the system socket api send and recv functions. It will be tested to see if it works on all Unix systems and if there is anything to be added.The available flags will be added later on.
Unix Progress Tracker
Implement omrsock_getaddrinfo_create_hints (and socket per thread buffer). PR:Added a per thread buffer and related tests for OMR socket API #4555
Implement OMRAddrInfoNode element extraction (omrsock_getaddrinfo_length, family, socktype, protocol). Issue:OMRSOCK API: Implement OMRAddrInfoNode Element Extraction Functions on Unix #4745, PR:Added Unix Implementations for Element Extracting Functions in OMRSOCK API #4738
Implementing omrsock_getaddrinfo. Issue:OMRSOCK API: Implement omrsock_getaddrinfo function on Unix #4794 PR:Added Unix Implementation for omrsock_getaddrinfo and omrsock_freeaddrinfo in OMRSOCK API #4832
Implementing omrsock_socket (constants definition of socket types) and omrsock_close. Issue:OMRSOCK API: Implement omrsock_socket Function on Unix #4795 PRs:Added constants for Unix Implementations in OMRSOCK API #4878, Added Unix Implementations for omrsock_socket and omrsock_close in OMRSOCK API #4887
Implementing omrsock_bind and omrsock_listen Issue:OMRSOCK API: Implement omrsock_bind and omrsock_listen functions on Unix #4919 PRs:Setting Up Socket Address for Bind and Listen #4974, Implement omrsock_bind and omrsock_listen on Unix #5034
Implementing omrsock_connect and omrsock_accept Issue:OMRSOCK API: Implement omrsock_connect and omrsock_accept functions on Unix #5043 PR:Added Unix Implementations for omrsock_connect and omrsock_accept functions #5066
Implementing omrsock_send and receive
Implementing omrsock_sendto and recvfrom
The text was updated successfully, but these errors were encountered: