When we run standard code for server on Pocket Pc our client can't
connect to it. Our code is:
// Create a TCP/IP socket, WinSocket.

WinSocket = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
local_sin.sin_family = AF_INET;
local_sin.sin_port = htons (PORTNUM);
local_sin.sin_addr.s_addr = htonl (INADDR_ANY);
bind (WinSocket,(struct sockaddr *) &local_sin, sizeof (local_sin);
listen (WinSocket, MAX_PENDING_CONNECTS) == SOCKET_ERROR);
ClientSock = accept (WinSocket,0,0);


The same code run perfect on PC, so we can't imagine what is our
problem?!
Maybe you have an idea?

Thanks in advance,
Anna&Jenia