Fixed pointers
sockaddr_in needs sin_family to be set
Fix callback, now basic functionality works