Using Win32 functions in Visual FoxPro Image Gallery
Windows Sockets 2 (Winsock)
..msdn
accept
bind
closesocket
gethostbyaddr
gethostbyname
gethostname
getnameinfo
getprotobyname
getprotobynumber
getservbyname
getservbyport
getsockopt
htonl
htons
inet_addr
inet_ntoa
listen
ntohl
ntohs
recv
recvfrom
send
sendto
setsockopt
socket
WSACleanup
WSACloseEvent
WSAConnect
WSACreateEvent
WSAEnumProtocols
WSAEventSelect
WSAGetLastError
WSARecv
WSASend
WSAStartup
WSAWaitForMultipleEvents
ws_connect
ws_select
Code examples:
Winsock: connecting to a news server (NNTP, port 119)
Winsock: reading email messages (POP3, port 110)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: sending email messages (SMTP, port 25)
WSAEventSelect
..msdn    Add comment     W32 Constants      Translate this page
The WSAEventSelect function specifies an event object to be associated with the specified set of FD_XXX network events.
Code examples:
Winsock: sending email messages (SMTP, port 25)
Winsock: connecting to a news server (NNTP, port 119)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: reading email messages (POP3, port 110)
Declaration:
int WSAEventSelect(
  SOCKET s,
  WSAEVENT hEventObject,
  long lNetworkEvents
);

FoxPro declaration:
DECLARE INTEGER WSAEventSelect IN ws2_32;
    INTEGER s,;
    INTEGER hEventObject,;
    INTEGER lNetworkEvents

Parameters:
s
[in] Descriptor identifying the socket.

hEventObject
[in] Handle identifying the event object to be associated with the specified set of FD_XXX network events.

lNetworkEvents
[in] Bitmask that specifies the combination of FD_XXX network events in which the application has interest.
Return value:
The return value is zero if the application"s specification of the network events and the associated event object was successful. Otherwise, the value SOCKET_ERROR is returned, and a specific error number can be retrieved by calling WSAGetLastError.
Word Index links for the WSAEventSelect :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-02-12 16:36:24
Modified: 2003-02-12 16:38:45
Visited in last 7 days: 45
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
16 sec.Function: 'GdipCreateStringFormat'
30 sec.Function: 'UuidToString'
45 sec.Function: 'HeapLock'
1 min.Function: 'SetBkMode'
1.23 min.Function: 'FreeLibrary'
1.45 min.Function: 'WinHttpAddRequestHeaders'
1.7 min.Function: 'DrawDibDraw'
1.92 min.
Function group: 'Icon'
2.17 min.Function: 'CeGetVersionEx'
2.4 min.Function: 'QueryPerformanceCounter'
Google
Advertise here!