Hello. I'm trying to write two applications: one is a client and the other is a server using CFSocket. The client is working fine. however, when i try to bind the server socket to a port (using CFSocketSetAddress), this function is returning kCFSocketError. I can't figure out what is wrong.
i tried to do the server with BSD sockets and it worked. but i really need to do it using CFSocket.
anybody got an idea what might be wrong?
i tried to do the server with BSD sockets and it worked. but i really need to do it using CFSocket.
anybody got an idea what might be wrong?