function to register a file descriptor, that gets activated for certain read/write events when these occur, the specified callback funtion is activated and passed the parameters that are pointed to by the event_callback struct
this function is supposed to open and bind a UDP socket listening on a port to incoming udp pakets on a local interface (a local union sockunion address)