socket_atmark
socket_atmark
Determines whether socket is at out-of-band mark
bool **socket_atmark** Socket $socket
Determines whether is at out-of-band mark.
socket
socket
A instance created with .
Socket``socket_create
return.success
Voorbeeld: Using to set the source address
<?php
// Create a new socket
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
var_dump(socket_atmark($sock));
// Close
socket_close($sock);
?>
socket_connect``socket_create