Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.027 c
1-1087803159
Salik
2004-06-21 11:32
2004.07.04
Отображение компонентов на форме


8-1082517873
frost
2004-04-21 07:24
2004.07.04
TImage с возможностью Zoom.


14-1087051685
vajo
2004-06-12 18:48
2004.07.04
Экзамен по Windows XP


14-1087148884
zokzok
2004-06-13 21:48
2004.07.04
Сколько времени в день можно работать компьютеру


14-1087387192
osama
2004-06-16 15:59
2004.07.04
что слушаем




   Наверх