Delphi Asynchronous Socket Error 10053
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the socket error 10053 software caused connection abort delphi workings and policies of this site About Us Learn more about Stack
Delphi Asynchronous Socket Error 10061
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs asynchronous socket error 10060 delphi Documentation Tags Users 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;
Socket Error 10053 Windows Live Mail
it only takes a minute: Sign up Delphi 7 Winsock Asynchronous error 10053 in Windows 8 client up vote 0 down vote favorite We have a client server application written in Delphi 7 using Winsock TCustomWinSocket as the derived socket connection between the two. The server is sat on a Server 2008 R2 Standard SP1 64bit machine and the socket error 10053 error number 0x800ccc0f client is running on a Windows 8 Pro 64bit PC. The application is basically creating a connection to the server which works fine and then downloads any updated or missing files to the client. This application has worked fine in all versions of Windows but after an upgrade to Windows 8 the client disconnects at various stages through the first file download with an asynchronous error 10053 appearing on the server, it never seems to happen at the same point every time and on very rare occasions the file will download then fail on the next file. Just wondered if anyone else has had anything similar, we have tried permission changes, different compatibility settings and we have tried adding keep alive and time outs to the server and client sockets without any luck : - setsockopt(Socket.SocketHandle, SOL_SOCKET, SO_RCVTIMEO, PChar(@TimeOut), sizeof(TimeOut)); setsockopt(Socket.SocketHandle, SOL_SOCKET, SO_SNDTIMEO, PChar(@TimeOut), sizeof(TimeOut)); setsockopt(Socket.SocketHandle, SOL_SOCKET, SO_KEEPALIVE, PAnsiChar(@OptVal), sizeOf(OptVal)) Any help would be most appreciated, thanks in advance. These are the declarations and return value analysis used by the connection procedure var OptVal,TimeOut: DWORD; begin T
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Server socket error 10053 Want to Advertise Here? Solved Server socket error 10053 Posted on 2004-12-08 Delphi 1 Verified Solution 3 Comments 7,222 Views Last Modified: 2008-07-15 I have a project on a server pc controlling I/O's. I am using the server socket to update three other pc's over a lan on the status of the server computer. I can log in and out of the server http://stackoverflow.com/questions/17550379/delphi-7-winsock-asynchronous-error-10053-in-windows-8-client computer with any of the client computers. However if a simulate a power failure in one of the client pc's I keep getting the error asynchronous socket error 10053. What is the best way to trap this error without brining down the server or the other two client computers? 0 Question by:Al_Shepstone Facebook Twitter LinkedIn Google Best Solution byjimy7s This error is occur when the connection is lost, and to avoid this error you should use one of this ways : you https://www.experts-exchange.com/questions/21234746/Server-socket-error-10053.html know the server allways listenning for connection and when connection is made then the Go to Solution 3 Comments LVL 13 Overall: Level 13 Delphi 11 Message Expert Comment by:BlackTigerX2004-12-08 that's a "connection aborted due to timeout or other failure (10053)" basically unexpected failure, like in your case you just need to - check that you have a connection before enterying the "send/receive messages section" - have exception handling when sending/receiving and if you get any exception trap it there instead of leting it populate to the user as a message box error if you can show some of the code you have for communication it would be more clear where you need to do these steps, but basically that's the concept 0 LVL 17 Overall: Level 17 Delphi 17 Message Expert Comment by:TheRealLoki2004-12-08 if you wrote these applications using Indy, then you can easily catch the relevant exception and handle it nicely. if you are using dcom (via borland socket server) then I don't know 0 Message Accepted Solution by:jimy7s2004-12-13 This error is occur when the connection is lost, and to avoid this error you should use one of this ways : you know the server allways listenning for connection and when connection is made then the server will connect by accepting this connection, so let server just lestinning . 1\ when the client need the connection to perform some operation then you can establish the conection from the clie
Календарь Избранное DigiMania RSS Здравствуйте, Гость ! http://forum.sources.ru/index.php?showtopic=160819 [31.204.128.81] Не авторизованы? Регистрация Выслать повторно письмо для активации Что даёт регистрация на форуме? Форум на Исходниках.RUПрограммированиеDelphiDelphi: Сетевое программирование Нравится ресурс? Соблюдайте общие правила форумаПожалуйста, выделяйте текст socket error программы тегом [сode=pas] ... [/сode]. Для этого используйте кнопку [code=pas] в форме ответа или комбобокс, если нужно вставить код на языке, отличном от Дельфи/Паскаля.Указывайте точные версии Delphi socket error 10053 и используемых сетевых библиотек.Не приветствуется поднятие старых тем. Если ваш вопрос перекликается со старой темой, то для вопроса лучше создать новую тему, а старую указать в первом сообщении с описанием взаимосвязи.Внимание: попытки открытия обсуждений реализации вредоносного ПО, включая различные интерпретации спам-ботов, наказывается предупреждением на 30 дней. Повторная попытка - 60 дней. Последующие попытки бан. Мат в разделе - бан на три месяца...Полезные ссылки: MSDN Library FAQ раздела Поиск по разделу Как правильно задавать вопросыВыразить свое отношение к модераторам разд