Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.07.04;
Скачать: CL | DM;

Вниз

Client and Server   Найти похожие ветки 

 
Ziay ©   (2004-05-10 15:51) [0]

Написал простейшую прогу с использованием TServerSocket и TClientSocket. При попытке соединения выводит ошибки либо: "Windows socket error (10057), on API "recv"" либо "Asynchronous socket error 10054" в зависимости от роли (клиент или сервер). В чём же дело?


 
Rouse_ ©   (2004-05-10 16:10) [1]

WSAECONNRESET
(10054)
Connection reset by peer.
An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket.) This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.



Страницы: 1 вся ветка

Текущий архив: 2004.07.04;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.041 c
1-1087744096
Солер
2004-06-20 19:08
2004.07.04
Размер формы и разрешение экрана


1-1087337132
AleKo
2004-06-16 02:05
2004.07.04
Отработать поьерю фокуса DBGridEh


3-1086606822
bSava
2004-06-07 15:13
2004.07.04
Грабли с хранимой процедурой!


4-1085120729
Stany
2004-05-21 10:25
2004.07.04
Сервис и очередь виндовых сообщений


6-1084342545
Term
2004-05-12 10:15
2004.07.04
FTP-клиент