flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Teehee 04 Jul 2010, 14:54
i need to detect if a connection is happen and if true, disconnect it. How can I do that?
_________________ Sorry if bad english. |
|||
![]() |
|
ManOfSteel 04 Jul 2010, 18:05
I'm not aware of any way to check for a connection. The only possible trick is to try to connect to existing and stable domain (e.g. www.google.com) using gethostbyname.
|
|||
![]() |
|
LocoDelAssembly 04 Jul 2010, 18:29
InternetGetConnectedStateEx. But I'm not sure how to disconnect nor if this function is trustworthy. Perhaps RAS API + ManOfSteel's method is better than WinInet but I don't remember anything of RAS...
|
|||
![]() |
|
coconut 09 Aug 2010, 16:07
http://msdn.microsoft.com/en-us/library/aa384346(v=VS.85).aspx
|
|||
![]() |
|
ouadji 16 Sep 2010, 09:46
Quote:
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.