[Top][All Lists]

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

Re: unix sockets

From: Amin Mozaffarin
Subject: Re: unix sockets
Date: Tue, 13 Jun 2017 19:47:00 +0200

Ok, thanks. 

Am 13.06.2017 7:44 nachm. schrieb "Mike Miller" <address@hidden>:
On Tue, Jun 13, 2017 at 18:18:37 +0200, Amin Mozaffarin wrote:
> Hi,
> I want to use unix sockets within octave.
> Is there an example, how to specify the serverinfo struct in order to
> connect to a socket?
> There only examples for AF_INET, not for AF_UNIX.

Are you asking about the sockets package? It looks to me like the
sockets package only supports AF_INET sockets at the moment. The socket
function allows you to create an AF_UNIX socket, but the bind and
connect functions only understand host and port arguments relevant for

If you are comfortable with the option of writing your own C++ function
for Octave, then you can create a socket any way you like using the
system libraries.

If you are willing to test the in-development Python interface, then the
Python socket library should work.


reply via email to

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