octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65634] Socket Package AF_UNIX socket not usab


From: anonymous
Subject: [Octave-bug-tracker] [bug #65634] Socket Package AF_UNIX socket not usable.
Date: Tue, 23 Apr 2024 19:10:29 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?65634>

                 Summary: Socket Package AF_UNIX socket not usable.
                   Group: GNU Octave
               Submitter: None
               Submitted: Tue 23 Apr 2024 11:10:29 PM UTC
                Category: Octave Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: stable
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 23 Apr 2024 11:10:29 PM UTC By: Anonymous
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.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65634>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]