On Wed, 2007-05-09 at 22:52 +0100, Julian Gardner [RSD] wrote: > [email protected], 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 _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
