Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOEVENTS when checking for socket state
Message
From
26/11/2008 10:55:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
DOEVENTS when checking for socket state
Miscellaneous
Thread ID:
01364210
Message ID:
01364210
Views:
68
We have this code and if I remove the DOEVENTS then it causes intermittent issues in that the socket state is usually not 7 (active). I am looking to remove the DOEVENTS because it causes problems with some hotkeys (ON KEY LABEL). Leaving the DOEVENTS and fixing the hotkey issue is an option also. Any ideas?
				DO WHILE .State < 7

					DOEVENTS	 && we must check for the State
					IF .State = 9
						* Unable to connect
					ENDIF

				ENDDO
Reply
Map
View

Click here to load this message in the networking platform