|Subject:||Re: unix sockets|
|Date:||Tue, 13 Jun 2017 19:47:00 +0200|
On Tue, Jun 13, 2017 at 18:18:37 +0200, Amin Mozaffarin wrote:
> 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
If you are willing to test the in-development Python interface, then the
Python socket library should work.
|[Prev in Thread]||Current Thread||[Next in Thread]|