|
From: | Daniel Klingler |
Subject: | AW: [lwip-users] How can I use "lwip" to build up a tcp-client? |
Date: | Mon, 22 Aug 2005 13:58:31 +0200 |
Hi Alberto!
Thank you for your answer!
I used the version 1.0, but now I changed it to 2.0 then the compiler gives me an error (see below). Perhaps you will know which reason it produces. Still now I don’t know how can I handle this.
******************************** Building lwIP library ********************************
Processor: ppc405_0 ERROR:MDT - ERROR FROM TCL:- lwip () - child process exited abnormally while executing "exec bash -c "cd src;make all >& logs"" (procedure "::sw_lwip_v2_00_a::execs_generate" line 42) invoked from within "::sw_lwip_v2_00_a::execs_generate 39388956" ERROR:MDT - Error while running "execs_generate" for processor ppc405_0... make: *** [ppc405_0/lib/libxil.a] Error 2 Done.
Regards Daniel --------------------------------- -----Ursprüngliche Nachricht-----
Hi Daniel, ---------------------------------------- Alberto Martin-Ortega Hardware Engineer IFARA TECNOLOGIAS S.L. Tls: +34 914.904.060 -- +34 687.807.159 Fax: +34 916.614.515 Email: address@hidden ----------------------------------------
Hi Alberto, thank you for your quick answer!
We use tcp. We had set up all the others with tcp and now we won’t change it to udp.
I thing we are using Socktes. For the server we used the example from Xilinx, like below:
- bind server to a specified port: pcb = tcp_new(); tcp_bind(pcb, IP_ADDR_ANY, FREQ_CHANGE_PORT); pcb = tcp_listen(pcb); tcp_accept(pcb, freq_change_accept);
- accept a client to communicate: tcp_recv(pcb, freq_change_recv); tcp_err(pcb, freq_change_err); tcp_poll(pcb, freq_change_poll, 1);
Now I will set up a client in the PPC on the Xilinx FPGA. I will set up on the same PPC a client and a server. They shall work independent. I hope you can help me more.
Regards Daniel --------------------------------- -----Ursprüngliche Nachricht-----
Hi Daniel,
there are some things that you have to do before using LwIP on PPC405. ---------------------------------------- Alberto Martin-Ortega Hardware Engineer IFARA TECNOLOGIAS S.L. Tls: +34 914.904.060 -- +34 687.807.159 Fax: +34 916.614.515 Email: address@hidden ----------------------------------------
_______________________________________________ lwip-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users |
[Prev in Thread] | Current Thread | [Next in Thread] |