Dennis Borgmann <[email protected]> wrote:
> It seems like lwIP does not like this. As soon as I open more than one 
> socket, the return value of socket is negative.

a) A more detailed error number is saved in 'errno'. You should try to get that 
value somehow to see what's wrong (error numbers are defined in arch.h).
b) It could be that you just have configured available memory too low. In that 
case, available resources wouldn't allow you to create a 2nd socket. In that 
case, you should go through lwipopts.h and increase the some configuration 
options (see comments in opt.h and the lwip wiki - 
"http://lwip.wikia.com/wiki/Lwipopts.h"; - for an explanation).

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to