The Winsock control and tcp/ip 
Author Message
 The Winsock control and tcp/ip

OK. Do I need to have a set IP address (set in the properties for tcp/ip)
for my network card if i want to send data through my LAN using TCP and UDP
with th winsock control?

I have made a program that sends data through the network and I knwo it
works with set IP addresses, but I want to know if it will work with dynamic
IP allocating (as when dialing into an ISP), and with my friend's PC (i have
connected his PC to my LAN - I don't think he has a set IP address)

I have been using the 'friendly name' to set the remotehost properties.

Also is there a way to get a list of computers currently on a LAN (as in
windows explorer under network neighbourhood)???



Sun, 17 Dec 2000 03:00:00 GMT  
 The Winsock control and tcp/ip

: OK. Do I need to have a set IP address (set in the properties for tcp/ip)
: for my network card if i want to send data through my LAN using TCP and UDP
: with th winsock control?

: I have made a program that sends data through the network and I knwo it
: works with set IP addresses, but I want to know if it will work with dynamic
: IP allocating (as when dialing into an ISP), and with my friend's PC (i have
: connected his PC to my LAN - I don't think he has a set IP address)

: I have been using the 'friendly name' to set the remotehost properties.

Basically, this should work.  DHCP (which sounds like what you're using) is
invisible to higher level programs like the one you're writing.  As a result,
anything that works on non-dynamic systems should work just as well on
dynamic ones.  However, you may be encountering problems with the DNS lookup.
I'd recommend you try using the IP of the server rather than the server name
and see if that helps.

: Also is there a way to get a list of computers currently on a LAN (as in
: windows explorer under network neighbourhood)???

Dunno

-Patrick



Mon, 18 Dec 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. WINSOCK control (tcp/ip)

2. WINSOCK control (tcp/ip)

3. TCP/IP winsock control

4. Can we connect through tcp/ip winsock controls

5. TCP/IP / Winsock...

6. winsock + tcp/ip

7. Sendig files by using tcp/ip (winsock)

 

 
Powered by phpBB® Forum Software