Re: winsock.dll and odbc
Posted in 1996
Topics: Connectivity: ODBC / JDBC / .NET
Jay Mistry (jaym@syntactica.co.za) wrote: : Hi, : I have written an application accessing an Informix Database through : ODBC. Portion of the application accesses SMTP and POP3. Both : Informix and the Mail interface uses Microsoft TCPIP through winsock. If : the database portion is run from one application and the Mail portion : from another there are no problems. If both portions are run from one : app, the mail portion works until the app logs into Informix. Thereafter : the mail portion fails to receive data because the state of the socket is : out. As soon I log out, the mail portion works. : I have managed to set the state of the socket explicitly, which helps but : then all the winsock functionality (database and mail) must be : sequential, because if the mail is executing and a database function is : called the connection is broken, and all subsequent db functions fail. : Is there anyone that can shed some light on the subject, I would be : greatful for any suggestions. : Thanks. I suggest you check with the service socket assignment. It may not be relevant, but worth a try. I didn't use ODBC to connect to informix, but rather using I-NET and raw sockets. My application is similar to yours, and more emphasis on the mail part (MAPI and SMTP). All the best, Alan. -- [ Alan Mak Siu Kei ] ^ ^ o o > ----- < "Life is more than food, and the body more than clothes" -Luke 12:23