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: how to retrieve the protocol information corresponding to a protocol name
getprotobyname
..msdn    Add comment     W32 Constants      Translate this page
The getprotobyname function retrieves the protocol information corresponding to a protocol name.
Code examples:
Winsock: how to retrieve the protocol information corresponding to a protocol name
Declaration:
struct PROTOENT FAR * getprotobyname(
  const char FAR *name  
);
FoxPro declaration:
DECLARE INTEGER getprotobyname IN ws2_32;
    STRING name
Parameters:
name
[in] Pointer to a null-terminated protocol name.
Return value:
If no error occurs, getprotobyname returns a pointer to the protoent. Otherwise, it returns a NULL pointer and a specific error number can be retrieved by calling WSAGetLastError.
Word Index links for the getprotobyname :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-20 07:21:12
Modified: 2001-12-20 07:22:36
Visited in last 7 days: 19
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.158.212.93)
15 sec.Function: 'SetFilePointer'
Function group: 'File Management'
32 sec.Function: 'MAPILogoff'
46 sec.Function: 'GetWindowDC'
1.05 min.Function: 'GetBestInterface'
1.28 min.Function: 'CloseEnhMetaFile'
1.55 min.Function: 'CryptEnumProviders'
1.8 min.Function: 'GdipReleaseDC'
2.08 min.Function: 'GetRawInputDeviceList'
2.38 min.Function: 'CeGetSystemInfo'
2.63 min.
Function group: 'Windows Networking'
Google
Advertise here!