Re: Unable to ping after device name changed Windows CE 6.0
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 17 Dec 2007 13:03:28 -0700
It's probably just something that the run-time detects, "This guy is using
sockets", and calls. It just initializes the sockets library. It's not
responsible for notifying anyone that the device name has changed.
Paul T.
"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AD59B1F6-18D6-4DDD-94D7-9E6ABCBD7164@xxxxxxxxxxxxxxxx
Hi Chris
Do you know which function in the manged stuff would call it under the
hood
in the managed code?
--
Don
"<ctacke/>" wrote:
WSAxxx functions are Winsock stuff. WSAStartup doesn't really have an
analog in managed code because the managed sockets stuff would likely
call
this under the hood in a constructor.
--
Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com
"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AEB53CB6-E63E-4463-815B-15C00BDF6F05@xxxxxxxxxxxxxxxx
Sorry for posting the microsoft code. I think the fact that it is
poorly
named is the thing that is giving me trouble. I think the call in
CheckDeviceName to the WSAStartup thing is the thing that is doing what
I
need to do. I don't expect you to do it for me. I just wanted someone
to
clarify that the WSAStartup thing is what I am missing since like you
said
the naming is poor. I would like to find a C# way of doing the same
thing.
But I need to associate the acronyms like WSA to something I can search
for
in the C# help. If indeed this is what I am missing.
--
Don
"Bruce Eitman [eMVP]" wrote:
First, don't post Microsoft's code here. You can certainly post your
code,
but not code that is copywriten by someone else.
Second, keep digging. You don't expect us to do it for you do you?
Maybe
something in CheckDeviceName is a good question. That function is
clearly
doing something different from what your code is doing. I will give
you
that the function is poorly named, but if you dig a little bit...
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
.
- References:
- Unable to ping after device name changed Windows CE 6.0
- From: Don
- Re: Unable to ping after device name changed Windows CE 6.0
- From: Paul G. Tobey [eMVP]
- Re: Unable to ping after device name changed Windows CE 6.0
- From: Don
- Re: Unable to ping after device name changed Windows CE 6.0
- From: Bruce Eitman [eMVP]
- Re: Unable to ping after device name changed Windows CE 6.0
- From: <ctacke/>
- Re: Unable to ping after device name changed Windows CE 6.0
- From: Don
- Unable to ping after device name changed Windows CE 6.0
- Prev by Date: Re: Unable to ping after device name changed Windows CE 6.0
- Next by Date: Re: Unable to ping after device name changed Windows CE 6.0
- Previous by thread: Re: Unable to ping after device name changed Windows CE 6.0
- Next by thread: Re: Unable to ping after device name changed Windows CE 6.0
- Index(es):
Relevant Pages
|
Loading