finally got sockets working, now that a day was wasted..