Emergency! Win98 and WinNT

<本文发表于: 相约加拿大:枫下论坛 www.rolia.net/f >
I am developing a winsocket program. when I finished the development, i tested it on win98, it runs well. But when I tested it on WinNT, it always waits for a long time then fails. The details r as followings:

1) first, I used no-blocking mode to degisn the program, that is an event mode. Simply and technologily speaking, the event mode is that when the TCP/IP connect is setup, an event is created by the system. I just wanna capture the event then send my data.

2) I think the connection is already setup, but I donot understand why the event isnot created. Because I set a limited time for connection. If the connection is over the time, error message will be hinted, otherwise, the event should be dispatched.

3) blocking mode is OK. I mean the connection can be created and signal can be return and event can be created. But why isnot NO-BLOCKING mode OK?

4) BAck to the point, it runs well in WIN98 and failed in WinNT? what the essential difference between 98 and NT? I know there are diference which express in the MACRO defined by WIN32 SDK

Plz [red]EXPERT[/red] help me!

The dead line is COMING!!!


<本文发表于: 相约加拿大:枫下论坛 www.rolia.net/f >

2001-4-23 -04:00

回到话题: Emergency! Win98 and WinNT

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论