Get host name

thingimijig

New member
Joined
Jan 28, 2007
Messages
1
Programming Experience
Beginner
I have a pocket pc connected wirelessly to my pc and have successfully got two applications connected, one on the pc and one on the pocket pc but i have to hardcode the hostname into the clients connect method.

client = New TcpClient
client.Connect("stey-2cb44de657", portNo)

How can i find out what the hostname of the pc would be from the pocket pc as i dont want to hardcode it ?

Thank you.
 
Back
Top