On Sat, 18 May 2002, [iso-8859-1] V=EB=E9r=EAsh[iso-8859-1] Kh=E5n=F6rk=E3= r wrote:
> > 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 =3D SysCreateSocket(AF_INET, SOCK_STREAM, 0); > > if (SockFD =3D=3D 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 =3D SysInetAddr(pszConnSpec); > SvrPath.iPortNo =3D 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 fro= m > 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 mo= re > better _you know whats the best solution_ for it. yes, it's a bug. fixed in 1.8 ( hope to make it today ). - Davide - 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]
