Davide,

There seems a problem in PSYNC Server, it keeps on waiting for the 
connection to occur, I tried to help myself with the code that was given 
and found out to be:

     if (MscSetupServerNetPath(NetPath, pszServer, STD_POP3_PORT) < 0)
         return (INVALID_BSOCK_HANDLE);

     SYS_SOCKET      SockFD = SysCreateSocket(AF_INET, SOCK_STREAM, 0);

     if (SockFD == SYS_INVALID_SOCKET)
         return (INVALID_BSOCK_HANDLE);

     SYS_INET_ADDR   SvrAddr;

     SysSetupAddress(SvrAddr, AF_INET, NetPath.NetAddr, 
htons(NetPath.iPortNo));

     if (SysConnect(SockFD, &SvrAddr, sizeof(SvrAddr), STD_POP3_TIMEOUT) < 0)


In MscSetupServerNetPath() the control goes to
         SvrPath.NetAddr = SysInetAddr(pszConnSpec);
         SvrPath.iPortNo = iDefPortNo;
But pszConnSpec is a pop server address like pop.myserver.com and not an IP 
address and hence thats why I guess something
was getting screwed out, anyway I changed the relevent code with that from 
SMTPUtils.cpp and its working fine. But still I guess I should inform you, 
its very obvious bug and I as well keep on doing them all the time and more 
better _you know whats the best solution_ for it.

Please do reply back.

Veeresh

--

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to