[Gambas-user] UDPSocket and Close

Joe Boby ngcsch at ...614...
Fri Jul 8 11:09:27 CEST 2005


try this:

PUBLIC SUB form_Open()

  DIM mySocksSmells AS NEW UdpSocket 
  '...

  IF mySocksSmells.Status > 0 THEN CLOSE
#mySocksSmells

END


You should receive "File is closed" error, when you
try to close it and it's already closed (status < 1).
But maybe it's this that make gambas exit with error
#11. Who knows ?

I don't.

Hope this fix your prob...






	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com




More information about the User mailing list