Weird error using gethostbyname
Weird error using gethostbyname
- Subject: Weird error using gethostbyname
- From: "Fredrik H. Larsen" <email@hidden>
- Date: Sun, 09 Jul 2006 00:15:50 +0200
Hi,
I've been making a cocoa application connects to a host on a specific port. Both arguments, including others, are passed to the program through NSTextField's.
What I find weird is that when I feed gethostbyname() with a host that doesn't exist (the domain does, however) I get:
gethostbyname: Invalid argument
Why don't I get "Unknown host" or so?
Thanks in advance!
------------------------ Fredrik H. Larsen
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden