Error #10038 Wsaenotsock
Contents |
360 games PC games
Socket Error Code 10038
Windows games Windows phone games Entertainment All Entertainment winsock error 10038 fix Movies & TV Music Business & Education Business Students & educators what is a socket error Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet
Socket Error 10053
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 Lumia All
Socket Error Codes Linux
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 of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting socket error 10022 ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
Winsock Error 10060
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 wsagetlasterror 0 minute: Sign up 10038 socket error up vote 3 down vote favorite 1 Is there any solution for 10038 server error .i have done coding in c++; the server runs fine 10 to 12 hours but sudenly it gives 10038 socket https://support.microsoft.com/en-us/kb/155738 error c++ visual-c++ sockets share|improve this question edited Oct 16 '10 at 9:00 asked Oct 16 '10 at 8:32 SunilRai86 34231025 add a comment| 3 Answers 3 active oldest votes up vote 6 down vote Without seeing your code: the symptom you describe sounds like you are leaking memory/resources, i.e. you are forgetting to free/delete objects you are allocating. It could also be a timing issue. I suggest you post your (cut-down) code. 10038 (WSAENOTSOCK): Socket operation on nonsocket. An operation was http://stackoverflow.com/questions/3948164/10038-socket-error attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid. share|improve this answer answered Oct 16 '10 at 8:34 Mitch Wheat 215k28345442 1 downvoters please leave a comment. –Mitch Wheat Jan 30 at 0:00 Can you explain the cryptic: "An operation was attempted on something that is not a socket" –Silvester Aug 11 at 8:53 add a comment| up vote 6 down vote I bet you are accessing a socket that you already closed. This is a very common timing bug in WinSock programming - the good news (and bad news, because it's hard to reproduce) is that you are not hitting it very often so it's likely your code does not need much work to make it perfect. I think you should add thread-safe diagnostics that output a string including the socket value (an int, basically) on every open and close, and from anywhere you see this 10038 or other unexpected errors. If you can add those diagnostics and then set up a stress test that focuses on open and close areas in your program (you may need to strip down the code to a small subset for unit testing of the sockets handling, maybe doing this back-to-back on localhost, or to two LAN-connected machines) then it will likely manifest much more quickly than 10-12 hours and you may fin
Web Platform Installer Get Help: Ask a Question in our Forums More Help http://forums.iis.net/t/1186916.aspx?10038+socket+error Resources Blogs Forums Home IIS.NET Forums IIS 5 & IIS 6 General 10038 socket error 10038 socket error RSS 2 replies Last post http://www.verycomputer.com/5_e68eba733fafc6e0_1.htm Feb 08, 2012 07:29 AM by moradsurkhi ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved socket error Threads Advanced Search Reply moradsurkhi 3 Posts 10038 socket error Feb 07, 2012 07:54 AM|moradsurkhi|LINK Hi All, I am load testing a web application built using ASP.Net and communicates with a Web services which uses oracle rdb odbc driver to connect to RDB server, but after a socket error code while I started getting this error when executing simple statements like insert or update against the database: Data : System.Collections.ListDictionaryInternal Source : SQRDB3.DLL Message : ERROR [08S01] [Oracle][ODBC][Rdb] send() Ret -1 Err#10038 WSAENOTSOCK File descriptor not a socket InnerException : Error: System.Data.Odbc.OdbcException: ERROR [08S01] [Oracle][ODBC][Rdb] send() Ret -1 Err#10038 WSAENOTSOCK File descriptor not a socket at System.Data.Odbc.OdbcConnection.HandleError(OdbcHa ndle hrHandle, RetCode retcode) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(C ommandBehavior behavior, String method, Boolean needReader) at System.Data.Odbc.OdbcCommand.ExecuteNonQuery() Please Help Me, Thanks in advance.. odbc Rdb WSAENOTSOCK socket Oracle 10038 Reply HCamper 7929 Posts Re: IIS-Forum-IIS 5.x-{unknown}-General-"10038 socket error"-Oracle-Driver,ASP.Net,Web Service:Fa... Feb 07, 2012 08:29 AM|HCamper|LINK Hello, IIS 5.x & 6.0 Forums General { unknown } Server the error 10038 socket.,Your load testing a web application:" Contact the developer or the vendor upda
code to pass a socket to another process. I strongly suspect the problem described in Q319952 but the the KB article is not very precise as to the conditions under which the error occurs. The code usually does work, we don't always see the error even on similarly configured machines. Must WSADuplicateSocket ALWAYS be used when sharing a socket? We are using DuplicateHandle, and would prefer to continue doing so - is there likely to be a fix for the underlying problem in an service pack? Thanks, Sushil. Top Q319952 and error 10038 (WSAENOTSOCK) by John Dudd » Wed, 17 Jul 2002 02:49:21 This may not be related to your problem, but from what I have read on this NG, there is no guarantee that a socket is a Win32 handle. If another LSP is installed, it may be something otyher than a kernel object handle, in which case DuplicateHandle won't necessarily do the right thing. JD Quote:> Hi, > we have starting recieving the WSAENOTSOCK error after modifying some > code to pass a socket to another process. I strongly suspect the > problem described in Q319952 but the the KB article is not very > precise as to the conditions under which the error occurs. > The code usually does work, we don't always see the error even on > similarly configured machines. > Must WSADuplicateSocket ALWAYS be used when sharing a socket? We are > using DuplicateHandle, and would prefer to continue doing so - is > there likely to be a fix for the underlying problem in an service > pack? > Thanks, Sushil. Top 1. Socket Error 10038 Hi I am getting the error 10038 in a select on a UDP socket. The explaination of error as per the documentation is "The socket descriptor is invalid" . But i am sure that i havent closed the socket after i bind it. Also the bind succeedes and this is the f