On Dec 09, Jacob Heider <[email protected]> wrote: > 2) the comments suggest that opening a socket per protocol is the normal > method for programs Indeed. If this is too much complex to implement in vnc4server, then it can be easily use this workaround before binding the socket:
int off = 0;
if (setsockopt(sep->se_fd, IPPROTO_IPV6, IPV6_V6ONLY, &off,
sizeof (off)) < 0)
syslog(LOG_ERR, "setsockopt (IPV6_V6ONLY): %m");
--
ciao,
Marco
signature.asc
Description: Digital signature

