lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Some Help Needed Please


From: Kieran Mansley
Subject: Re: [lwip-users] Some Help Needed Please
Date: Thu, 10 May 2007 17:14:56 +0100

On Wed, 2007-05-09 at 22:52 +0100, Julian Gardner [RSD] wrote:
> address@hidden, I have come to the end of my knowledge of
> sockets etcs and i need some help getting some new code working (upnp)
> 
> What i am doing is opening a socket and then using select i can get
> the data that is sent, (239.255.255.250:1900) but when i try to open a
> port to send to this address i lose everything.
> 
> I think i need to use the REUSE_ADDR commands but would love a simple
> demonstration of this, or some help
> 
> So i need to open a socket (udp) to recieve data from
> 239.255.255.250:1900 and then i need to be able to send to the same
> address and port!

If you have a socket opened to read, you should be able to send using
the same socket, without closing it or opening another one.  Just use
the same socket number that you use for reading.

Kieran





reply via email to

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