Help for this page

Select Code to Download


  1. or download this
    require Socket;
    
    # socktype is set to -1 to make getaddrinfo return an error
    ...
    print "\$gaiErr=\"$gaiErr\" (".($gaiErr+0).")\n";
    print "\$osErr=\"$osErr\" (".($osErr+0).")\n";
    print "\$extErr=\"$extErr\" (".($extErr+0).")\n";
    
  2. or download this
    $gaiErr="La prise en charge du type de socket spécifié n" (10044)
    $osErr="Illegal byte sequence" (42)
    $extErr="La prise en charge du type de socket spécifié n’existe pas da
    +ns cette famille d’adresses" (10044)
    
  3. or download this
    $gaiErr="ai_socktype non supporté" (-7)
    $osErr="No such file or directory" (2)
    $extErr="No such file or directory" (2)