h6. [[Internet]] h6(. » [[Internet SWI Calls|SWI Calls]] h6((. » Socket_Bind h2. Socket_Bind h5. (SWI &41201) |_<^{width:4em}. Entry | | |<^. R0 |<^. Socket descriptor | |<^. R1 |<^. Pointer to local address to bind this socket to | |<^. R2 |<^. Size of local address | |_<^{width:4em}. Exit | | |<^. R0 |<^. Corrupted | h4. Use The purpose of this call is to bind a socket to a specified local address. h4. Berkeley sockets equivalence This SWI directly corresponds to the function "bind":https://pubs.opengroup.org/onlinepubs/9699919799/functions/bind.html and would ordinarily be called from C using the <code>bind()</code> function in <code>socklib.h</code>. h4. See also * [[Internet]] * [[Socket_Creat]]