Reads the response and returns an array with the type of events that have been found

Property definitions

socket $ PollFD :: check_response
	# Reads the response and returns an array with the type of events that have been found
	private fun check_response(response: Int): Array[NativeSocketPollValues]
	do
		var resp_array = new Array[NativeSocketPollValues]
		for i in events do
			if c_check_resp(response, i) != 0 then
				resp_array.push(i)
			end
		end
		return resp_array
	end
lib/socket/socket_c.nit:64,2--74,4