Страница: 1 |
Мне нужно описание параметров setsockopt, не знаете где найти?Именно мне нужно Long значение IP_HDRINCL.
Значит не такой и крутой я сетевик( А чего за ругань такая setsockopt в какой быблиотеке спрятана? setsockopt wsock32.dll Requires Windows Sockets 2.0 The Windows Sockets setsockopt function sets a socket option. Declare Function setsockopt Lib "wsock32.dll" (ByVal s As Long, ByVal Level As Long, ByVal optname As Long, optval As Any, ByVal optlen As Long) As Long · s [in] A descriptor identifying a socket. · level [in] The level at which the option is defined; the supported levels include SOL_SOCKET and IPPROTO_TCP. See Protocol-specific Annex (a separate document included with the Win32 SDK) for more information on protocol-specific levels. · optname [in] The socket option for which the value is to be set. · optval [in] A pointer to the buffer in which the value for the requested option is supplied. · optlen [in] The size of the optval buffer. If no error occurs, setsockopt returns zero. Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling WSAGetLastError. Выписвка из APIGuide для VB. Есть подробная инфа, но для Дельфи и С++. Спасибо, особенно justasу Страница: 1 |
Вопрос: Крутым сетевикам (только крутым)
Добавлено: 14.11.03 21:15
Автор вопроса:
DaSharm | Web-сайт:
Ответы
Всего ответов: 4
Номер ответа: 1
Автор ответа: rtm
ICQ: 193396468
Вопросов: 1
Ответов: 4
Профиль | | #1
Добавлено: 17.11.03 04:55
Номер ответа: 2
Автор ответа: Justas
ICQ: 259418212
Вопросов: 24
Ответов: 325
Web-сайт:
Профиль | | #2
Добавлено: 17.11.03 05:21
Const IP_HDRINCL As Long = 2
Номер ответа: 3
Автор ответа: LamerOnLine
ICQ: 334781088
Вопросов: 108
Ответов: 2822
Профиль | | #3
Добавлено: 17.11.03 09:22
Номер ответа: 4
Автор ответа: DaSharm
ICQ: 780477
Вопросов: 72
Ответов: 1297
Web-сайт:
Профиль | | #4
Добавлено: 17.11.03 21:33