10051 Socket Error
Contents |
Studio 2015 products Visual Studio Team Services Visual Studio Code Visual Studio Dev Essentials Office Office Word/Excel/PowerPoint Microsoft Graph Outlook OneDrive/Sharepoint Skype Services Store
Error 10051 Network Unreachable
Cortana Bing Application Insights Languages & platforms Xamarin ASP.NET C++ TypeScript socket error 10051 outlook express .NET - VB, C#, F# Server Windows Server SQL Server BizTalk Server SharePoint Dynamics Programs & communities socket error 10060 Students Startups Forums MSDN Subscriber downloads Sign in Search Microsoft Search Windows Dev Center Windows Dev Center Explore What’s new for Windows 10 Intro to Universal Windows Platform
Socket Error 10051 Smtp
Coding challenges Develop for accessibility Build for enterprise Windows Store opportunities Docs Windows apps Get started Design and UI Develop API reference Publish Monetize Promote Games Get started UI design Develop Publish Desktop Get started Design Develop API reference Test and deploy Compatibility Windows IoT Microsoft Edge Windows Holographic Downloads Samples Support Why Windows Dashboard Explore What’s
Error Number 0x800ccc0e
new for Windows 10 Intro to Universal Windows Platform Coding challenges Develop for accessibility Build for enterprise Windows Store opportunities Docs Windows apps Get started Design and UI Develop API reference Publish Monetize Promote Games Get started UI design Develop Publish Desktop Get started Design Develop API reference Test and deploy Compatibility Windows IoT Microsoft Edge Windows Holographic Downloads Samples Support Why Windows Dashboard Networking and Internet Windows Sockets 2 Winsock Reference Winsock Reference Windows Sockets Error Codes Windows Sockets Error Codes Windows Sockets Error Codes Socket Options Winsock IOCTLs Winsock Annexes Winsock Enumerations Winsock Functions Winsock Structures and Typedefs Winsock Tracing Events Winsock SPI Windows Sockets Error Codes TOC Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. This documentation is archived and is not being maintained. Windows Sockets Error Codes Most Windows Sockets 2 functions do not return the specific cause of an error when the function returns. For information, see the Handling Winsock Errors topic
here for a quick overview of the site Help Center Detailed socket error 10061 answers to any questions you might have Meta Discuss the
Socket Error 10051 Live Mail
workings and policies of this site About Us Learn more about Stack Overflow the company socket error 10051 forum Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx 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 minute: Sign up Error 10051 while trying to connect socket up vote 1 down vote favorite I recently built a socket-server chat in linux. When http://stackoverflow.com/questions/30462729/error-10051-while-trying-to-connect-socket I try to connect my windows 8.1 main computer (Both under the same subnet), i get an: [Errno 10051]: A socket operation was attempted to an unreachable network Code: import socket import datetime import getpass # Get username import sys import thread import select def client(): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) sock.bind(("127.0.0.1", 8856)) sock.connect(("192.168.1.17", 23657)) sock.send(getpass.getuser()+"[$ID$]4sthg") socket_list = [sys.stdin, sock] partner = raw_input("Chat partner: ") while 1: # Get the list sockets which are readable read_sockets, write_sockets, error_sockets = select.select(socket_list , [], []) for sock_index in read_sockets: # incoming message from remote server if sock_index == sock: data = sock_index.recv(4096) if not data : print '\nDisconnected from chat server' sys.exit() else : #print data sys.stdout.write(data) # user entered a message else: msg = sys.stdin.readline() sock.send(partner + "|" + msg) def get_time(): return datetime.datetime.strftime(datetime.datetime.now(), '%H:%M:%S') def main(): client() if __name__ == "__main__": main() I tried
years ago Closed 6 years ago #12503 closed defect (fixed) win socket error #10051 MSN (2.7.3.0) Reported by: DBX_5 Owned by: QuLogic Milestone: Component: MSN Version: 2.7.3 Keywords: Cc: Description (last https://developer.pidgin.im/ticket/12503 modified by QuLogic) I am unable to connect to the MSN client now due to the error listed in the topic, I am using the current version of pidgin (2.7.3.0) I have made my ports open for the msn client and I have made my KIS not block pidgin in any socket error way. please help! thanks. Debug log (11:29:35) prefs: /pidgin/blist/list_visible changed, scheduling save. (11:29:39) prefs: /pidgin/blist/list_visible changed, scheduling save. (11:29:40) account: Connecting to account dbx_5@hotmail.com. (11:29:40) connection: Connecting. gc = 05EA24F0 (11:29:40) msn: new httpconn (05291D20) (11:29:40) dnsquery: Performing DNS lookup for messenger.hotmail.com (11:29:40) dnsquery: IP resolved for messenger.hotmail.com (11:29:40) proxy: Attempting connection socket error 10051 to 64.4.9.254 (11:29:40) proxy: Connecting to messenger.hotmail.com:1863 with no proxy (11:29:40) proxy: Connection in progress (11:29:41) util: Writing file prefs.xml to directory C:\Users\Ryan\AppData\Roaming\.purple (11:29:41) util: Writing file C:\Users\Ryan\AppData\Roaming\.purple\prefs.xml (11:29:46) util: Writing file accounts.xml to directory C:\Users\Ryan\AppData\Roaming\.purple (11:29:46) util: Writing file C:\Users\Ryan\AppData\Roaming\.purple\accounts.xml (11:30:01) proxy: Connecting to messenger.hotmail.com:1863. (11:30:01) proxy: Error connecting to messenger.hotmail.com:1863 (Windows socket error #10051). (11:30:01) proxy: Connection attempt failed: Windows socket error #10051 (11:30:01) msn: Connection error: Windows socket error #10051 (11:30:01) msn: Connection error from Notification server (messenger.hotmail.com): Windows socket error #10051 (11:30:01) connection: Connection error on 05EA24F0 (reason: 0 description: Connection error from Notification server: Windows socket error #10051) (11:30:01) account: Disconnecting account dbx_5@hotmail.com (02C2D3A0) (11:30:01) connection: Disconnecting connection 05EA24F0 (11:30:01) msn: destroy the OIM 0605DF90 (11:30:01) msn: destroy httpconn (05291D20) (11:30:01) connection: Destroying connection 05EA24F0 (11:30:07) util: Writing file accounts.xml to directory C:\Users\Ryan\AppData\Roaming\.purple (11:30:07) util: Writing file C:\Users\Ryan\AppData\Roaming\.purple\accounts.xml Oldest first Newest first Threaded Comments only Change History (3)