Help for this page

Select Code to Download


  1. or download this
    bind SOCKET,NAME
    Binds a network address to a socket, just as the bind system call does
    +. Returns true if it succeeded, false otherwise. NAME should be a pac
    +ked address of the appropriate type for the socket. See the examples 
    +in Sockets: Client/ Server Communication in the perlipc manpage
    
  2. or download this
    If you ever see code that does anything like explicitly setting $AF_IN
    +ET = 2, you know you're in for big trouble: An immeasurably superior 
    +approach is to use the Socket module, which more reliably grants acce
    +ss to various constants and functions you'll need.