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: retrieving information about available transport protocols
WSAEnumProtocols
..msdn    Add comment     W32 Constants      Translate this page
The WSAEnumProtocols function retrieves information about available transport protocols.
Code examples:
Winsock: retrieving information about available transport protocols
Declaration:
int WSAEnumProtocols(
  LPINT lpiProtocols,
  LPWSAPROTOCOL_INFO lpProtocolBuffer,
  ILPDWORD lpdwBufferLength
);
FoxPro declaration:
DECLARE INTEGER WSAEnumProtocols IN ws2_32;
    INTEGER   lpiProtocols,;
    STRING  @ lpProtBuf,;
    INTEGER @ lpdwBufLen
Parameters:
lpiProtocols
[in] Null-terminated array of iProtocol values.

lpProtocolBuffer
[out] Buffer that is filled with WSAPROTOCOL_INFO structures.

lpdwBufferLength
[in, out] On input, the count of bytes in the lpProtocolBuffer buffer passed to WSAEnumProtocols.
Return value:
If no error occurs, WSAEnumProtocols returns the number of protocols to be reported. Otherwise, a value of SOCKET_ERROR is returned and a specific error code can be retrieved by calling WSAGetLastError.
Word Index links for the WSAEnumProtocols :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-20 07:14:00
Modified: 2001-12-20 07:15:47
Visited in last 7 days: 16
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.224.43.96)
50 sec.Function: 'WritePrivateProfileSection'
1.12 min.Function: 'TrackPopupMenuEx'
2.67 min.Function: 'SetupGetInfFileList'
2.98 min.Function: 'waveOutGetVolume'
3.3 min.Function: 'SwapMouseButton'
4.1 min.Function: 'Sleep'
5.62 min.Function: 'SetWindowLong'
6.12 min.Function: 'waveOutSetVolume'
6 day(s)Function: 'FindMediaType'
 Function: 'CoTaskMemFree'
Google
Advertise here!