Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: "Lance Wynn" <LanceWynn@xxxxxxxxxxxxxxxx>
- Date: Thu, 12 Jul 2007 07:57:40 -0600
Actually, the DCHP doesn't change the IP address that much. Most will keep
the IP address for at least 3 days, and in a corporate environment, unless
there is a shortage of local addresses, most machines will keep their same
address through renewals.
"Gilles Ganault" <nospam@xxxxxxxxxx> wrote in message
news:5r7c93djq9dg4rj3irjmlhhsll9osedh48@xxxxxxxxxx
On Mon, 9 Jul 2007 18:44:29 -0600, "Lance Wynn"
<LanceWynn@xxxxxxxxxxxxxxxx> wrote:
You can, you just need to make sure the client is binding to a different
port then the server, (In case they are both running on the same machine).
Thank you very much for your help :-)
Actually, while thinking it through... chances are most of our
customers use DHCP, with no static binding with hosts' MAC address, so
that clients will have to use broadcasting to locate the server every
time.
So... a better solution would probably be to display the Network
Neighborhood and ask users to click on the name of the host that is
acting as server, and remember this hostname. If IP's can change every
time a computer is rebooted, its Netbios/hostname name won't.
Thanks again to both of you.
.
- Follow-Ups:
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Gilles Ganault
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- References:
- [Winsock UDP] Why .Close to avoid Err 40020?
- From: Gilles Ganault
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Lance Wynn
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Gilles Ganault
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Lance Wynn
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Gilles Ganault
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Lance Wynn
- Re: [Winsock UDP] Why .Close to avoid Err 40020?
- From: Gilles Ganault
- [Winsock UDP] Why .Close to avoid Err 40020?
- Prev by Date: Re: Minimize to Tray with flashing
- Next by Date: Re: Sent array to file; now to use it Q
- Previous by thread: Re: [Winsock UDP] Why .Close to avoid Err 40020?
- Next by thread: Re: [Winsock UDP] Why .Close to avoid Err 40020?
- Index(es):
Relevant Pages
|