input_wait_mask, in order to let select() detect, whether a new message has been arrived.
Attach a file by drag & drop or click to upload