Operating System - HP-UX
1753797 Members
7126 Online
108802 Solutions
New Discussion юеВ

what protocol type use when defining a PF_UNIX socket

 
SOLVED
Go to solution
Laurent Laperrousaz
Regular Advisor

what protocol type use when defining a PF_UNIX socket

Hi everybody,

I want to use unix sockets, but if I use protocol "tcp" HP-UX says it is not supported. So what protocol type should I use ?

3 REPLIES 3
Paul Sperry
Honored Contributor
Solution

Re: what protocol type use when defining a PF_UNIX socket

the tcp protocol is indeed not supported
with PF_UNIX, you can use ip instead.
Joao Mendes
Occasional Advisor

Re: what protocol type use when defining a PF_UNIX socket

I think you are referring to AF_UNIX family of protocol tcp, to use sockets on UNIX domain, there are a good documentation on :
http://docs.hp.com/hpux/onlinedocs/B2355-90136/00/00/41-con.html

Best regards,
Joao Mendes
Laurent Laperrousaz
Regular Advisor

Re: what protocol type use when defining a PF_UNIX socket

I set protocol to 0 and it works fine, thanks