bugGNU Octave - Bugs: bug #51913, [octave forge] (sockets) feature...

 
 

bug #51913: [octave forge] (sockets) feature request for non-blocking recv on Windows

Submitted by:  Joseph Hayden <jshayden>
Submitted on:  Fri 01 Sep 2017 05:58:50 PM UTC  
 
Category: Octave Forge PackageSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Joseph HaydenOpen/Closed: Open
Release: 4.2.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 01 Sep 2017 10:08:51 PM UTC, comment #2:

No, I don't think that MSG_PEEK works. The function recv(socket,length,MSG_PEEK) is blocking as well. Perhaps I don't know how to use MSG_PEEK correctly.

Joseph Hayden <jshayden>
Fri 01 Sep 2017 07:36:33 PM UTC, comment #1:

You could probably do it with MSG_PEEK?

John Donoghue <lostbard>
Project Member
Fri 01 Sep 2017 05:58:50 PM UTC, original submission:

Octave package "sockets" on Ubuntu has non-blocking recv() call using the flag MSG_DONTWAIT. However, it seems that MSG_DONTWAIT is undefined in Winsock2 and thus recv(socket,length,MSG_DONTWAIT) does not work in Octave Windows.

Is it possible to add either a non-blocking recv() call, or a means to monitor the number of bytes available on the socket?

Joseph Hayden <jshayden>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by jshayden (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Sep 2017 06:40:42 PM UTCmtmillerSeverity3 - Normal=>1 - Wish
      SummarySockets package : feature request for non-blocking recv() call=>[octave forge] (sockets) feature request for non-blocking recv on Windows

    Back to the top


    Powered by Savane 3.1-cleanup1