flat assembler
Message board for the users of flat assembler.
Index
> Windows > sockets question |
Author |
|
Pirata Derek 04 Dec 2008, 12:38
Use the WSAAsyncSelect function (on WSOCK32.INC)
It's usefull to recive a message on a window when socket events occur, for example when a connection is closed or when you recive some packets (data). The parameters are: 1) the Socket 2) The handle of the windows (for example a DialogBox) 3) A message to be receved when the evet occurs (dword) 4) the events Example: invoke WSAAsyncSelect,[socket],[handle],100h,FD_READ for more details search with GOOGLE: WSAAsyncSelect Function() You can find and download my network tool (source code) that work like a server, chat and like a remote executor, here (scroll down the page): http://board.flatassembler.net/topic.php?t=9369&start=20 |
|||
04 Dec 2008, 12:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.