The code that I sent was an example. You will need to make changes to fit your needs. The example code connects to a server and starts sending data repeatedly. THe warning is not an issue. Since this is a client application, you need a server to be running and listening at port 2000 to do what your example expects.
Use the code as an example and program it to suit your needs.
Sathya
On 1/25/06, Gian Paolo Stoppani <[EMAIL PROTECTED]> wrote:
Thank you Sathya for the code that you sent me.There is a problem. When i build the project it appears this message:code/tcp.c: In function 'TxTest_connected':code/tcp.c:173: warning: passing arg 2 of 'tcp_sent' from incompatible pointer type.Even if this warning appears, Xilinx Paltform Studio generates the executable.elf and in hyperterminal appears :Staring Netwaork Interface...MAC Address: 00-00-00-00-22-38IP Address: 192.168.2.4Subnet Mask: 255.255.255.0Gateway IP: 192.168.2.1TxTest Port: 2000TxTest Client Runnig...[TxTest_init]But when i open TELNET and i write:open 192.168.2.4 2000it appeas that it is impossible to open a connection with the host on the port 2000.Why?Is for the problem that appears when i build the project?How can i do?Thank you very muchGreatingsGian Paolo
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
