sudden problems with socket connections
steve at sxemacs.org
Sun Jun 24 00:50:41 EDT 2007
* Scott Evans <gse at antisleep.com> writes:
> Hi folks,
> I'm one of the maintainers of TNT, an IM client for Emacs.
I'm the maintainer of Eicq (http://www.eicq.org/), an ICQ client for
(S)XEmacs, we might have some things in common. :-)
> I use TNT daily on two machines, but in the last few days I am unable
> to establish a connection from my laptop. The connection attempt never
> returns an error, but nothing seems to happen.
> If I quit XEmacs, I see the expected process list:
>> Proc Status Buffer Tty Command
>> ---- ------ ------ --- -------
>> toc open (none) (none) network stream connection 5190 at toc.oscar.aol.com
> ...and the "active processes exist; kill them and exit anyway" question.
> Under the hood, we connect to AIM as follows:
> (setq tocstr-process (open-network-stream "toc" nil host port))
Do you employ any kind of debugging in TNT? If not, you could use
something like this... (lifted directly from eicq-v8.el)
(defcustom eicq-v8-debug t
"*Non-nil mean eicq protocol debugging is enabled."
(defvar eicq-debug-buffer "*eicq-debug*")
(defun eicq-v8-debug (msg &rest args)
"Print debug MSG."
(insert (apply 'format msg args) "\n")))))
And then it is just a matter of calling `eicq-v8-debug' in any function
that handles incoming packets (your sentinels/filters) and in any
function that sends outgoing packets.
And if that doesn't reveal anything useful, try something like tcpdump
to inspect the packets going in and out.
 I have no idea if tcpdump builds or runs on win32. I also have no
idea if any alternate packet sniffer exists for win32.
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| SXEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------------<steve at sxemacs.org>---|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 312 bytes
Desc: not available
Url : http://calypso.tux.org/pipermail/xemacs-beta/attachments/20070624/2a203fb4/attachment.bin
More information about the XEmacs-Beta