|
|
|
date: Mon, 10 Sep 2007 00:32:19 -0700,
group: microsoft.public.platformsdk.networking
back
Re: AF_INET is not in Wtsapi32.h
I see, OK, that what I meant
Arkady
"Sam Hobbs" <samuel@social.rr.com_change_social_to_socal> wrote in message
news:ejZqDvW%23HHA.5360@TK2MSFTNGP03.phx.gbl...
>I am not sure I understand, but note that in my original question I said
>that for a "workaround, I have copied into my program one line of code".
>That line is the one you also copied to here.
>
>
> "Arkady Frenkel" wrote in message
> news:ufeGs5P%23HHA.4476@TK2MSFTNGP06.phx.gbl...
>> Why not to set 2 instead or take just definition
>> #define AF_INET 2
>> from that H
>> Arkady
>> "Sam Hobbs" <samuel@social.rr.com_change_social_to_socal> wrote in
>> message news:euBaaL99HHA.536@TK2MSFTNGP06.phx.gbl...
>>> Yes, thank you; it is there.
>>>
>>> It is unfortunate that I must include winsock2.h just for AF_INET. I
>>> realize that usually when winsock2.h is included there is more in it
>>> that is needed, but for my use of WtsApi32.h I truly need just the one
>>> line.
>>>
>>> I also know that you are not Microsoft and you can do nothing except
>>> help as you have.
>>>
>>>
>>> "Arkady Frenkel" wrote in message
>>> news:OGotmb49HHA.700@TK2MSFTNGP05.phx.gbl...
>>>> Typo : have to be : that in winsock2.h
>>>> Arkady
>>>>
>>>> "Sam Hobbs" <samuel@social.rr.com_change_social_to_socal> wrote in
>>>> message news:%23TtCerv9HHA.5980@TK2MSFTNGP04.phx.gbl...
>>>>> No, I said WtsApi32.h, not winsock2.h.
>>>>>
>>>>>
>>>>> "Arkady Frenkel" wrote in message
>>>>> news:e6AZg9b9HHA.5404@TK2MSFTNGP02.phx.gbl...
>>>>>> What in winsock(2).h
>>>>>> Arkady
>>>>>>
>>>>>> "Sam Hobbs" <samuel@social.rr.com_change_social_to_socal> wrote in
>>>>>> message news:uWR0Py38HHA.4476@TK2MSFTNGP06.phx.gbl...
>>>>>>> See the WTS_CLIENT_ADDRESS structure in the MSDN; it says it is
>>>>>>> Declared in WtsApi32.h.
>>>>>>> http://msdn2.microsoft.com/en-us/library/aa383857.aspx
>>>>>>>
>>>>>>> That documentation page also lists symbolic values for
>>>>>>> AddressFamily, including AF_INET. Yet AF_INET is not in WtsApi32.h.
>>>>>>> It is in a few other includes but I am not sure which one I am
>>>>>>> supposed to use.
>>>>>>>
>>>>>>> For a workaround, I have copied into my program one line of code
>>>>>>> from one of the other includes that defines AF_INET and that works
>>>>>>> but that is just a temporary workaround.
>>>>>>>
>>>>>>> What additonal include is suppoed to be used to get the declaration
>>>>>>> of AF_INET and other values for AddressFamily?
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Wed, 19 Sep 2007 10:38:06 +0200
author: Arkady Frenkel
|
|