server: @client is only used by recv() and onwards