Solved

winsock problem

Posted on 2000-03-18
3
363 Views
Last Modified: 2008-02-26
can anybody tell me
what is winsock error code when i get the numeric value from WSAGetLastError()funtion == 10106 after i call the  
 WSASocketW(AF_ATM, SOCK_RAW, ATMPROTO
            _AAL5, NULL, 0)

and how i avoid it.
thank you
0
Comment
Question by:tsong_lc
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 2631451
10106 is WSAEPROVIDERFAILEDINIT

It's defined in WINSOCK2.H.  The table at:

http://msdn.microsoft.com/library/psdk/psdkref/errlist_9usz.htm

says:

10106

The requested service provider could not be loaded or initialized.  

WSAEPROVIDERFAILEDINIT
0
 

Author Comment

by:tsong_lc
ID: 2634578
to jhance
thank you for your answer
can you give me some comment how i avoid it. thank you
0
 
LVL 32

Expert Comment

by:jhance
ID: 2635526
I can only speculate that the ATM provider on this computer is either not installed or is installed but not configured properly.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now