local params = ...

local network = require("network")
if params.event == "network" and params.data.event_type == "io_activity" then
    if params.data.event.io_activity_type == "IN" then
        print("Message: " .. network.receive(params.data.event.handle))
    end
    return
end