П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое







Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 98191 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 29078 раз(а).

Учебник HTML.
Просмотров 56200 раз(а).

Руководство по PHP5.
Просмотров 25939 раз(а).

Хостинг через призму DNS.
Просмотров 30466 раз(а).

Подборка текстов стандартных документов.
Просмотров 28981 раз(а).

Учебник PHP - Самоучитель
Просмотров 33730 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 34988 раз(а).

Внешние атаки...
Просмотров 26956 раз(а).

Учебник PHP.
Просмотров 22782 раз(а).

SSI в примерах.
Просмотров 17855 раз(а).



 
 



Руководство по PHP
Пред. След.

socket_set_option

(PHP 4 >= 4.3.0, PHP 5)

socket_set_option -- Sets socket options for the socket

Description

bool socket_set_option ( resource socket, int level, int optname, mixed optval )

The socket_set_option() function sets the option specified by the optname parameter, at the protocol level specified by the level parameter, to the value pointed to by the optval parameter for the socket specified by the socket parameter. socket_set_option() will return FALSE on failure.

The level parameter specifies the protocol level at which the option resides. For example, to retrieve options at the socket level, a level parameter of SOL_SOCKET would be used. Other levels, such as TCP, can be used by specifying the protocol number of that level. Protocol numbers can be found by using the getprotobyname() function.

The available socket options are the same as those for the socket_get_option() function.

Замечание: This function used to be called socket_setopt() prior to PHP 4.3.0.


Пред. Начало След.
socket_set_nonblock Уровень выше socket_shutdown


 





Copyright © 2005-2011 Project.Net.Ru