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

[1004 byte] By [neilneil2000] at [2008-3-3]
# 1

hello friend

you have make the project in computer network using java.

you have use the xp but u have use the window2000 so its very easy to connect dns server so try this.

sandippatel at 2007-9-5 > top of Msdn Tech,Windows Networking Development,Winsock Kernel (WSK)...
# 2
This forum is dedicated to questions about the Winsock and Winsock Kernel API. Please repost this to a forum dedicated to the library you are using in your application
MikeFlasko at 2007-9-5 > top of Msdn Tech,Windows Networking Development,Winsock Kernel (WSK)...