ICI Modules: net: recvfrom
Modules by name : by typeSynopsis
struct = net.recvfrom(socket, int)Description
Receives a message and return both the data and the sender's address. The first argument gives the socket to be used to receive the message, the second argument the maximum size of the message we are willing to receive. The function reads the message and builds a struct containing the keys "msg", "nb" and "addr" containing the data, its size and the sender's address.