bugGNU Octave - Bugs: bug #65634, Socket Package AF_UNIX socket not...

 
 

bug #65634: Socket Package AF_UNIX socket not usable.

Submitter:  None
Submitted:  Tue 23 Apr 2024 11:10:29 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * stable
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 25 Apr 2024 01:08:37 PM UTC, comment #2: 

It would also need functionality added to connect and possibly some other functions

John Donoghue <lostbard>
Group Member
Thu 25 Apr 2024 12:24:39 PM UTC, comment #1: 

Per the function documentation for bind, only  port number is supported, so works as documented, but would be a good feature request.

John Donoghue <lostbard>
Group Member
Tue 23 Apr 2024 11:10:29 PM UTC, original submission:  

It is not possible to bind an AF_UNIX socket as UNIX-Domain sockets have a path instead of a port Number.

Following code gives a failure caused on no scalar integer as port to bind:


sock = socket(AF_UNIX, SOCK_STREAM);
bind(sock, "/tmp/octave.sock");


If I find the time I maybe dig into it myself, but the probability for that is quiet low.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-04-25 lostbard Item GroupUnexpected Error or Warning Feature Request

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code