PHP » GoLang | 
        
            
            login |
            register |
            
            about
            
             | 
    
                GoLang stream_set_timeout
                                request it (752)
                             
                            
                            GoLang replacement for PHP's stream_set_timeout
                            [edit | history]
                        
                    
                             stream_set_timeout(PHP 4 >= 4.3.0, PHP 5, PHP 7) stream_set_timeout — Set timeout period on a stream Description
   bool stream_set_timeout
    ( resource  
  $stream
   , int $seconds
   [, int $microseconds = 0
  ] )
   Sets the timeout value on  
   When the stream times out, the 'timed_out' key of the array returned by
   stream_get_meta_data() is set to  Parameters
 
 Return Values
   Returns  Changelog
 
 Examples
 Example #1 stream_set_timeout() example 
<?phpNotes
 This function was previously called as set_socket_timeout() and later socket_set_timeout() but this usage is deprecated. See Also
  | 
            
            
                
                 
                    more
                     
                Most requested
 
                    more
                     
            Last requests
  |