This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 2 instances of Xwin


Alexander Gottwald wrote:
Amr Mohamed Roushdi wrote:


Hi Alex it is me again . I am enclosing the strace fot the 1st instance
good and the 2nd instance which blew out .
thks for ur help


from tracegood

  310 2041721 [main] xwin 2284 cygwin_socket: 6 = socket (2, 2, 0)
  429 2042150 [main] xwin 2284 cygwin_setsockopt: setsockopt optval=1
  323 2042473 [main] xwin 2284 cygwin_setsockopt: 0 = setsockopt (6, 65535, 20 (SO_BROADCAST), 0x22EF84, 4)
  672 2043145 [main] xwin 2284 cygwin_bind: 0 = bind (6, 0x769BD0, 16)

from trace

  304 2658029 [main] xwin 2312 cygwin_socket: 6 = socket (2, 2, 0)
  321 2658350 [main] xwin 2312 cygwin_setsockopt: setsockopt optval=1
  311 2658661 [main] xwin 2312 cygwin_setsockopt: 0 = setsockopt (6, 65535, 20 (SO_BROADCAST), 0x22EF84, 4)
  449 2659110 [main] xwin 2312 __set_winsock_errno: bind:477 - winsock error 10048 -> errno 112
  306 2659416 [main] xwin 2312 cygwin_bind: -1 = bind (6, 0x769BD0, 16)

the winsock error 10048 is WSAEADDRINUSE which means another program is using
the port. Up to this bind the logs are nearly identical (only differs in
process ids, the :5 vs :10 and some small differences with pointers and
handles returned from windows). The logs are about 7 minutes apart. Does it
usually work again after 5 - 7 minutes have passed after a failed attempt?

bye
    ago
NP: Imperative Reaction - Arrogance
the following appeared today in the announcement is it the same as the module suggested
thanks again and it works fine with the clipboard
amr
*** xorg-x11-xwin-gl-6.7.0.0-12


Changes
=======

2004-07-20 Alexander Gottwald <ago@freedesktop.org>

        * xc/programs/Xserver/xdmcp.c (get_addr_by_name):
	Bugzilla #889: Bind -from address to port number 0 instead of 177

-- Alexander Gottwald


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]