Тема: hook
Показать сообщение отдельно
Старый 04.03.2008, 11:30   #4
Новичок
 
Аватар для Ptica
 
Регистрация: 11.02.2008
Сообщений: 24
Сказал Спасибо: 8
Имеет 11 спасибок в 5 сообщенях
Ptica
По умолчанию Re: hook

Цитата:
Сообщение от xkor
дело в том что клиент скорее всего не recv а WSArecv юзает)
Дело в том что WSArecv в итоге всеравно вызывает recv. Так что код в студию :)

Добавлено спустя 7 минут 53 секунды:
Выдержка из MSDN:
The WSARecv function provides functionality over and above the standard recv function in three important areas:

It can be used in conjunction with overlapped sockets to perform overlapped recv operations.
It allows multiple receive buffers to be specified making it applicable to the scatter/gather type of I/O.
The lpFlags parameter is both an input and an output parameter, allowing applications to sense the output state of the MSG_PARTIAL flag bit. However, the MSG_PARTIAL flag bit is not supported by all protocols
__________________
Пустынен мир, и нет конца пустыне,
и рай закрыт, и ни души в аду.

Октавио Пас "Оборванная элегия"
Ptica вне форума   Ответить с цитированием