emacs-devel
[Top][All Lists]
Advanced

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

Re: UDP: Send and receive on same port?


From: Mario Lang
Subject: Re: UDP: Send and receive on same port?
Date: Tue, 30 Mar 2021 13:11:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux)

Replying to self

Nevermind, it works by creating a datagram server first, and then using
set-process-datagram-address to set the destination.  The server process
can now be used to send UDP as well.  However, I am seeing lost incoming
packets.  According to tcpdump, the reply is clearly there, but the
process filter only seems to pick it up 1 out of roughly 4 times.
Weird.


Mario Lang <mlang@blind.guru> writes:

> Hi.
>
> Certain OSC (Open Sound Control) applications reply to the UPD sender
> port, making it necessary to listen on the same port which was allocated
> for the sending process.  I remember having asked this roughly a year
> ago, and the answer was a no.  I'd like to re-raise this one: Can we do
> something with the process framework to allow listening on a UDP client
> port?  I dont see a way to get the allocated port of the sending
> process.

-- 
CYa,
  ⡍⠁⠗⠊⠕



reply via email to

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