Тема: WinSock API
Показать сообщение отдельно
  #10  
Старый 20.12.2010, 10:00
Аватар для NumLock
NumLock NumLock вне форума
Let Me Show You
 
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
По умолчанию

Цитата:
The select function determines the status of one or more sockets, waiting if necessary, to perform synchronous I/O.
Return Value
The select function returns the total number of socket handles that are ready and contained in the fd_set structures, zero if the time limit expired, or SOCKET_ERROR if an error occurred. If the return value is SOCKET_ERROR, WSAGetLastError can be used to retrieve a specific error code.
handle не перепутал, который передаешь? может серверный передаешь?
__________________
Пишу программы за еду.
__________________
Ответить с цитированием