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 number
getprotobynumber
..msdn    Add comment     W32 Constants      Translate this page
The getprotobynumber function retrieves protocol information corresponding to a protocol number.
Code examples:
Winsock: how to retrieve the protocol information corresponding to a protocol number
Declaration:
struct PROTOENT FAR * getprotobynumber(
  int number  
);
FoxPro declaration:
DECLARE INTEGER getprotobynumber IN ws2_32;
    INTEGER number
Parameters:
number
[in] Protocol number, in host byte order.
Return value:
If no error occurs, getprotobynumber returns a pointer to the protoent structure. Otherwise, it returns a NULL pointer and a specific error number can be retrieved by calling WSAGetLastError.
Word Index links for the getprotobynumber :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-20 07:40:36
Modified: 2001-12-20 07:41:54
Visited in last 7 days: 14
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.162.139.105)
3 sec.Function: 'midiOutGetDevCaps'
Function group: 'Windows Multimedia'
6 sec.Function: 'GetRegionData'
Function group: 'Region'
9 sec.Articles
12 sec.Function: 'GetVersion'
Function group: 'System Information'
15 sec.
Function group: 'Authentication'
18 sec.Function: 'SHGetFileInfo'
Function group: 'Shell Functions'
21 sec.
26 sec.Example: 'Shortcut Menu Class'
30 sec.Function: 'waveInPrepareHeader'
Function group: 'Windows Multimedia'
35 sec.Function: 'SetPrinter'
Function group: 'Printing and Print Spooler'
Google
Advertise here!