Needed on Solaris to stop connect() from returning EINVAL for invalid
socket length when starting vncviewer.
--- tigervnc-1.0.0/common/network/TcpSocket.cxx Thu Aug 20 02:46:42 2009
+++ tigervnc-1.0.0/common/network/TcpSocket.cxx Thu Oct 29 20:12:25 2009
@@ -188,7 +188,7 @@
}
/* Attempt to connect to the remote host */
- while ((result = connect(sock, &sa.u.sa, sizeof(sa))) == -1) {
+ while ((result = connect(sock, &sa.u.sa, salen)) == -1) {
err = errorNumber;
#ifndef WIN32
if (err == EINTR)
--
-Alan Coopersmith- [email protected]
Sun Microsystems, Inc. - X Window System Engineering
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tigervnc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel