ok so the error i get with listen is 10045 which is:
Operation not supported. The attempted operation is not supported for the type of object referenced. Usually this occurs when a socket descriptor to a socket that cannot support this operation is trying to accept a connection on a datagram socket.
i don't know how to solve this problem. description of the error doesn't help