Contacting port with no DNS entry
Forgive me if you read this and think my title is misleading but I think that is what I mean!?
As part of my final year project I have a development board with an ethernet socket that I want to connect to using TCP. I am using th uIP stack by adam dunkels for the networking software on the board. I can connect to the board using HyperTerminal and other third party software and have successfully sent and received packets to and from the board from my Windows XP machine.
However I want to write my own program to establish TCP connections with the board. I have been reading up on Winsock and looked at a few examples. However all seem to use the gethostbyaddr() function in order to set up the connection. This always returns a null value as the board has no name other than its IP address.
Can someone let me know how to make a connection to this board from my PC using winsock as I have been working on it for many hours with no avail!
Many thanks,
Neil Jeffery

