bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6346: 23.1; set-process-datagram-address failure?


From: Andreas Schwab
Subject: bug#6346: 23.1; set-process-datagram-address failure?
Date: Fri, 04 Jun 2010 00:55:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Jason Feng <address@hidden> writes:

> I was trying the following elisp, and ended up with an unexpected result...
>
> (setq udp-cl
>       (make-network-process
>        :name "baz" :buffer nil
>        :service 53 :host "64.68.192.10"
>        :family 'ipv4 :filter (lambda (p s)
>                              (print s))
>        :type 'datagram
>        :coding 'binary))
>
> (process-datagram-address udp-cl)
>  => [64 68 192 10 53]
> (set-process-datagram-address udp-cl (process-datagram-address udp-cl))
>  => [64 68 192 10 53]
> (process-datagram-address udp-cl)
>  => [0 0 0 0 53]

Thanks, I have installed a patch.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]