Re: gethostname() and gethostbyname() APIs
Re: gethostname() and gethostbyname() APIs
- Subject: Re: gethostname() and gethostbyname() APIs
- From: Justin Walker <email@hidden>
- Date: Sun, 2 May 2004 20:46:42 -0700
On May 2, 2004, at 20:35, Navin Sharma wrote:
My application is a client-server application. It uses TCP/IP for
client-server communication. On Mac OS X (Panther client) making a
call to
gethostname() and gethostbyname() APIs work properly whereas, same APIs
doesn't work and causes application to crash when run under Mac OS X
(Panther Server).
Do you have any idea why this is happening?
No. You haven't given us enough information to determine the cause. I
suspect that the problem is in your code, though. Fortunately, Mac OS
X comes with a debugger, and you should be able to use that to narrow
down the problem.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.