[En-Nut-Discussion] TCP connection to fixe IP
Ole Reinhardt
ole.reinhardt at embedded-it.de
Mon Oct 5 09:54:35 CEST 2009
Hi Gilles,
> I have developed a piece of code to establish a dialog between my ARM9 board
> and a PC in 2 different location.(2 different IP fix addresses)
> When the PC establish the TCP link , the ARM9 receive and respond to the
> TCP frame correctly.
> If I try to establish the TCP dialog starting from the ARM9, it fails on the
> NutTcpConnect(sock1,dest_addr, PortSend)
> All is good if I stay inside my office network.
Are you sure there is neither a masquerading (NAT) nor any other kind of
firewall between the pc and your board? Have you correctly set your
gateways on both entities?
Have you checked the error code after the failed connect with
NutTcpError()? It might give you a hint what is going wrong.
Regards,
Ole Reinhardt
--
_____________________________________________________________
| |
| Embedded-IT |
| |
| Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
| Luisenstraße 29 Mobil: +49 (0)177 7420433 |
| 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
| Germany Web: http://www.embedded-it.de |
|_____________________________________________________________|
More information about the En-Nut-Discussion
mailing list