socket communication and DNS



hi all,

I have a program writte in C which opens a socket and communicate with
another PC in my internal LAN using the numeric IP in the privare range
172.16.31.x

In the same client I have a file resolv.conf, where I set ad nameserver
my
lan server: I should not use this info in my program, as I use a numeri
IP.

The problem is than when the LAN server shutdowns, my program sops
communicating.
(if I remove the file resolv.conf, it continue to work, with or without
lan server)

I cannot understand this behaviour: why this program needs a DNS if
uses numeric IP?
does the C library need a DNS? it doesn't seem so as if I remove the
resolv.conf file
everything works.

any idea?
thanks
giammy

.



Relevant Pages

  • Re: n-Tier development
    ... > What does it change when I communicate on whatever line to a middle Tier ... > DataServer or direct to the EndDataServer? ... dataset-wth-changes in one network call over the LAN. ...
    (microsoft.public.dotnet.general)
  • Re: IP assignment by DHCP failure
    ... If you are Chris, the original poster, ... work on his LAN. ... communicate with local computers), he should be able to connect through ... Ethernet encapsulations with a MTU of the ...
    (microsoft.public.windowsxp.network_web)
  • Re: home network, SP2 and network connection lost!
    ... > explorer pages and unable to communicate with the others on the LAN. ... > When I turn on DHCP on just the one machine, I get an error that The ... Service Pack 2 activates the Windows Firewall automatically. ...
    (microsoft.public.windowsxp.general)
  • Re: voice communication on my LAN
    ... Users on the LAN show up in the address book as ... then I'd appreciate advise on which SIP server would be ... we're discussing will only occur where you're trying to communicate via ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Exchange 2000 OWA and firewall
    ... >I've been playing around with Exchange 2000 OWA. ... >internally on the LAN. ... >firewall to the LAN server, however, cannot access OWA from outside ...
    (microsoft.public.exchange.admin)