[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble w/sockets
From: |
Thien-Thi Nguyen |
Subject: |
Re: Trouble w/sockets |
Date: |
Mon, 04 Mar 2013 11:02:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
() address@hidden
() Sun, 03 Mar 2013 23:18:32 -0500
Using writev() gets rid of the broken pipe error and I successfully
write my connection initiation request to the X server.
If you can prove this, then perhaps you have found a bug in the server.
but I probably need to take a break from this for a while
Another idea is to restart X. I remember that helped sometimes. In
theory, failed connection attempts should not leave persistent changes
in the server state (modulo incremented counters), but it's also true
that the vast majority of client interactions are via Xlib (et al), so
there might be some shared quirks (both server and Xlib are wrong
somehow but that's OK because they are "compatibly wrong") in play.
Anyway, the point is: killing X is a good excuse to take a break. :-D
--
Thien-Thi Nguyen
GPG key: 4C807502
pgp2Y49a6Y9LX.pgp
Description: PGP signature