savannah-cvs
[Top][All Lists]
Advanced

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

[Savannah-cvs] lwip_socket() return null


From: Jin Won Seo
Subject: [Savannah-cvs] lwip_socket() return null
Date: Mon, 16 Feb 2015 12:17:27 -0800

Hi,

I am using lwip1.4.1+FreeRTOS+ Ti Tiva C Tm4c1294.

Actually,  I used lwip1.3.2 and the modules associated with socket communications worked fine.

However, as I ported from 1.3.2 to 1.4.1, it did not even get socket fd from lwip_socket().

socket_fd = lwip_socket(AF_INET, SOCK_DGRAM, 0);

This function always gives me NULL(0).

What I have changed is implementing sys_mbox_set_invalid(), sys_sem_valid(), and sys_sem_set_invalid() in sys_arch.c

Also, changed default numbers to the below:
#define SYS_THREAD_MAX          8
#define SYS_SEM_MAX             16
#define SYS_MBOX_MAX            16

I attached lwipopts.h

Thanks,
Jin

Attachment: lwipopts.h
Description: Text Data


reply via email to

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