On Thu, 2011-03-03 at 11:11 +0000, Teckinal Greek wrote: > > Hi,is it possible to mix lwIP Raw API with sockets (I know they are > pretty much different), such as connecting the Client to the Server > using Raw API and receiving data from the server using Socket > programming.
It may be possible (the sockets API will use parts of the raw API internally for example), but it's not really supported. You would have to make sure that you didn't try to access the same connection through the two APIs, and you'd have to be very careful about ensuring there weren't two threads active in lwIP at the same time (i.e. you'd have to synchronise the tcpip_thread with your own application threads, and I'm not sure this would be easy without modifying lwIP itself). Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
