|
From: | Daniel Klingler |
Subject: | AW: [lwip-users] How can I use "lwip" to build up a tcp-client? |
Date: | Fri, 19 Aug 2005 14:53:25 +0200 |
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 ---------------------------------------- |
[Prev in Thread] | Current Thread | [Next in Thread] |