Can we use both NETCONN & SOCKET ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can we use both NETCONN & SOCKET ?

Ranran
Hello,

Is it legal to enable both LWIP_NETCONN and LWIP_SOCKET ?

Thanks,
ran

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: Can we use both NETCONN & SOCKET ?

Flavio Castro Alves Filho
Hello Ran,

Yes, it is possible.

I did it in different tasks in FreeRTOS.

Best regards,

Flavio

Em qua, 3 de abr de 2019 às 15:25, Ranran <[hidden email]> escreveu:

>
> Hello,
>
> Is it legal to enable both LWIP_NETCONN and LWIP_SOCKET ?
>
> Thanks,
> ran
>
> _______________________________________________
> lwip-users mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/lwip-users



--
Flavio de Castro Alves Filho

[hidden email]
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: Can we use both NETCONN & SOCKET ?

Ajay Bhargav (SiWi)
In reply to this post by Ranran

LwIP sockets are wrapper functions for netconn, compatible with BSD sockets. So in order to use lwIP sockets, you need to enable netconn. And yes you can use them both.

 

Regards,

Ajay Bhargav

 

From: [hidden email]
Sent: Wednesday, April 3, 2019 11:55 PM
To: [hidden email]
Subject: [lwip-users] Can we use both NETCONN & SOCKET ?

 

Hello,

 

Is it legal to enable both LWIP_NETCONN and LWIP_SOCKET ?

 

Thanks,

ran

 

_______________________________________________

lwip-users mailing list

[hidden email]

https://lists.nongnu.org/mailman/listinfo/lwip-users

 


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