gethostname method fails
- From: "RM" <RM@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Jun 2005 09:29:10 -0700
Greetings!
I am using the following method to get the host name of my computer in an
application. But it does not do so and ends up giving me error 10093
(WSAGetLastError()). I have no clue as to what is happening. Can anyone
please help. Many thanks in advance.
Best regards,
gethostname(name, sizeof(name));
.
- Follow-Ups:
- Re: gethostname method fails
- From: Joseph M . Newcomer
- Re: gethostname method fails
- From: DavidCrow
- Re: gethostname method fails
- From: CheckAbdoul
- Re: gethostname method fails
- Prev by Date: Re: What could cause ::MessageBox to fail?
- Next by Date: Re: gethostname method fails
- Previous by thread: File Version without GetFileVersionInfo
- Next by thread: Re: gethostname method fails
- Index(es):
Relevant Pages
|