10047 Error
Contents |
One games Xbox 360 games PC 10047 address family not supported games Windows games Windows phone games Entertainment All error 10047 an address incompatible Entertainment Movies & TV Music Business & Education Business Students &
Error 10047 An Address Incompatible With The Requested
educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security
Winsock Error 10047
Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft socket error 10047 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Error 10047 Windows Firewall
of this site About Us Learn more about Stack Overflow the company error 10093 Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users wsa error 10047 Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a https://support.microsoft.com/en-us/kb/819124 minute: Sign up Socket Error 10047 up vote 0 down vote favorite So I am really stuck here, just trying to make a simple C program that gets the content of a webpage into a buffer, but I'm having some problems; consider the following: WORD wVersionRequested; WSADATA wsaData; int err; wVersionRequested = MAKEWORD( 2, 2 ); err = WSAStartup( wVersionRequested, &wsaData ); http://stackoverflow.com/questions/11974389/socket-error-10047 if(err != 0) { printf("could not find a usable winsock.dll"); return NULL; } if(LOBYTE(wsaData.wVersion) != 2 || HIBYTE(wsaData.wVersion) != 2) { printf("could not find a usable winsock.dll"); WSACleanup(); return NULL; } SOCKET sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); struct sockaddr_in sa = { 0 }; sa.sin_port = htons(port); sa.sin_addr.s_addr = inet_addr(ip); connect(sock, (struct sockaddr*)&sa, sizeof(sa)); The variables ip, and port, are passed through from main. as you can see here: readsite("http://www.pagetutor.com/html_tutor/index.html", "68.71.137.60", 80); I get the error code "10047" from executing printf("\n%d", GetLastError()); directly below the line connect(sock, (struct sockaddr*)&sa, sizeof(sa)); and this code according to microsoft means "Addresses in the specified family cannot be used with this socket" so I am completely at a lost on what to do from here. c sockets share|improve this question asked Aug 15 '12 at 17:48 Keith Miller 708824 1 Why not use libcURL for this? –user529758 Aug 15 '12 at 17:51 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted You didn't set sin_family so it's set to AF_UNSPEC (since you 0-initialized sa). Before connecting, try: sa.sin_family = AF_INE
tech Search Tags: Builds Cases Cooling CPUs Graphics Laptops Memory Monitors Motherboards more Peripherals PSUs Storage VR ForumWindows http://www.tomshardware.com/forum/134968-45-windows-firewall-working-error-10047 XP Windows Firewall not working (Error 10047) AnonymousJan 15, 2005, 7:13 PM Archived from groups: microsoft.public.windowsxp.security_admin (More info?)Re: Windows Firewall not working due to Windows Firewall / http://www.mcpressonline.com/forum/forum/programming/general-ad/487-client-access-express-fails-to-connect-10047-error Internet Connection Sharing (ICS) service not working.Soon after installing the beta version of Microsoft’s AntiSpyware software, the Security Center prompted me that my Firewall was not enabled. error 10047 When I click on “Recommendations� it takes met to a window that prompts me to “enable the firewall.� When I click on the “Enable� button, it indicates that “We’re sorry. The Security Center could not turn on Windows Firewall. To try turning on the firewall yourself, go to Windows Firewall in Control Panel. In the error 10047 an Windows Firewall dialog General tab, select On (recommended), and then click OK. When I go to the Control Panel and click on Windows Firewall, I am prompted with a message that indicates, “Windows Firewall settings cannot be displayed because the associated service is not running. Do you want to start the Windows Firewall / Internet Connection Sharing (ICS) service?� Once I click the “Yes� button it indicates that, “Windows cannot start the Windows Firewall / Internet Connection Sharing (ICS) service.� To try to manually start ICS, I right-clicked on “My Computer� and selected “Manage�. Then I went to “Services and Applications�, “Services�, and clicked on Start for the “Windows Firewall / Internet Connection Sharing (ICS) service� The error message that I get after that is, “Could not start the Windows Firewall / Internet Connection Sharing (ICS) service on Local Computer. Error 10047: An address incompatible with the requested protocol was used� Any help would be greatly appreciated ! Thank you,
Home Forum Programming General Announcement Announcement Module Collapse No announcement yet. client access express fails to connect 10047 error. Page Title Module Move Remove Collapse X Conversation Detail Module Collapse Posts Latest Activity Search Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts Guest #1 client access express fails to connect 10047 error. 02-08-2002, 07:49 AM Dale, Look at the help text for the various CWBCOnnnn messages. Your big one is 1003, but my help doesn't list an error code 10047. The help text for 1008 points to some specific problems, I'd check it out. To get to the help text for these messages go to Start/Programs/IBM AS400 Client Access Express/Express User's Guide. Go to the Messages subsection. Bill "dale janus"