Delphi Message = Asynchronous Socket Error 10053
Contents |
at server side, socket error 10053 software caused connection abort delphi and at the same time the link from
Asynchronous Socket Error 10061 Delphi
socket server to client is broken. Who can help me to solve asynchronous socket error 10060 delphi this problem? Thanks, Guan Andy M Delphi Developer Tue, 28 Oct 2003 03:44:02 GMT Re:Asynchronous socket error 10053 This is no problem, the behaviour is expected that way. If a connection is not closed in the normaly way, instead of the OnClientDisconnect event an error will be raised. It is safe to assume that once the error 10053 (only this one!) has occured, the client disconnected in an unusual way. So all you have to do, is to close the connection to this client and update the program (if necessary) with the new list of clients. To avoid the error message, set Handled to True in the OnError event of the server. Andy Other Threads 1. Asynchronous socket error 10053 2. I met Asynchronous Socket Error 10053! 3. Asynchronous Socket error 10053 4. TIdHTTP Socket Error #10053 5. Socket Error # 10053 Software caused connection abort. 6. TIdHTTP Socket Error # 10053 7. Socket Error # 10053 8. http post - socket error 10053 9. idHTTP socket error #10053 10. Socket error 10053
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 ads with us Stack Overflow Questions Jobs 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; it only takes a minute: Sign up Delphi http://www.delphigroups.info/2/4b/192956.html 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 client is running on a Windows 8 Pro 64bit PC. The application is http://stackoverflow.com/questions/17550379/delphi-7-winsock-asynchronous-error-10053-in-windows-8-client 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 TimeOut:=50000; OptVal := 1; if setsockopt(Socket.SocketHandle, SOL_SOCKET, SO_RCVTIMEO, PChar(@TimeOut), sizeof(TimeOut)) = SOCKET_ERROR then raise Exception.Create(Format('WinSock Error %d', [WSAGetLastError()])); if setsockopt(Socket.SocketHandle, SOL_SOCKET, SO_SNDTIMEO, PChar(@TimeOut), sizeof(TimeOut)) = SOCKET_ER
Календарь Избранное DigiMania RSS Здравствуйте, Гость ! http://forum.sources.ru/index.php?showtopic=160819 [31.204.128.81] Не авторизованы? Регистрация Выслать http://ns2.ru-board.com/topic.cgi?forum=33&topic=11241 повторно письмо для активации Что даёт регистрация на форуме? Форум на Исходниках.RUПрограммированиеDelphiDelphi: Сетевое программирование Нравится ресурс? Соблюдайте общие правила форумаПожалуйста, выделяйте текст socket error программы тегом [сode=pas] ... [/сode]. Для этого используйте кнопку [code=pas] в форме ответа или комбобокс, если нужно вставить код на языке, отличном от Дельфи/Паскаля.Указывайте точные версии Delphi asynchronous socket error и используемых сетевых библиотек.Не приветствуется поднятие старых тем. Если ваш вопрос перекликается со старой темой, то для вопроса лучше создать новую тему, а старую указать в первом сообщении с описанием взаимосвязи.Внимание: попытки открытия обсуждений реализации вредоносного ПО, включая различные интерпретации спам-ботов, наказывается предупреждением на 30 дней. Повторная попытка - 60 дней. Последующие попытки бан. Мат в разделе - бан на три месяца...Полезные ссылки: MSDN Library FAQ раздела Поиск по разделу Как правильно задавать вопросыВыразить свое отношение к модераторам раз