in reply to connect() & close()
while ($conn = $sock->accecpt()){ $conn->recv($buff, 1000); #do something with the $buff } [download]
Should I be closeing $conn if so at which piont.