Re: [lwip-users] Raw lwIP server write issue

2015-11-05 Thread Valery Ushakov
Amit Ashara wrote: > When a connection is established between the server and the client, > I can use the tcp_write on the client side to send data in my > application code. However the same on the server side is not > possible. The pcb that has been used for the server

Re: [lwip-users] Raw lwIP server write issue

2015-11-05 Thread Amit Ashara
Hello Uwe, I have the call back for accept set as follows. In the main application, I call echo_accept. server_tpcb = tcp_new(); ui32Err = tcp_bind(server_tpcb, (ip_addr_t *)_ui32IPAddress, NODE_TCP_SERVER_PORT); UARTprintf("\n%d",ui32Err);

[lwip-users] Raw lwIP server write issue

2015-11-05 Thread Amit Ashara
Hello All, I am using Raw lwIP 1.4.1 on a microcontroller. Since the requirement is to have acknowledged transfer between two devices, I created a server and client model. However I ran into an issue. When a connection is established between the server and the client, I can use the tcp_write on

[lwip-users] Compilations errors with MEM_USE_POOLS

2015-11-05 Thread Andy Pont
Hello, As I don't have access to a C library malloc() function I tried making a call to mem_malloc() elsewhere in the project outside of the lwIP source tree. That call hangs and I am in the process of debugging it. As a quick alternative I thought I would define MEM_USE_POOLS as 1 in