SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 09:18 PM
Panduranga Chary
 
Posts: n/a
Default service listener for both IPv4 and IPv6

Hi,


How do we make service both listening to ipv4 and ipv6 in unix.


Do we need to create two sockets (1 for v4 and 1 for v6) and listen on
both as in windows XP.

or

For inted initiated service.

we are putting 2 entries (1 for v4 and 1 for v6) though the binary is
same. only single socket opened and address binds to first accepted
address from a call to getaddrinfo().


/etc/services


tcp service #v4
tcp6 service


/etc/inetd.conf
service stream tcp nowait root service_path service
service stream tcp6 nowait root service_path service


Could you please suggest. How we go about it.

Thanks
Panduranga Chary
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 09:18 PM
Casper H.S. Dik