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:
A client for testing non-blocking Winsock server
How to build UDP responder
How to create non-blocking Winsock server
How to ping a remote site using IP Helper API calls
How to retrieve network parameters for the local computer (including Host name, Domain name, and DNS Server)
Obtaining MAC address through Address Resolution Protocol (ARP) request
Winsock: changing the byte ordering
Winsock: connecting to a news server (NNTP, port 119)
Winsock: reading email messages (POP3, port 110)
Winsock: resolving an address to a host name
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: retrieving the host information corresponding to a network address
Winsock: retrieving Web pages using sockets (HTTP, port 80)
Winsock: sending email messages (SMTP, port 25)
inet_addr
..msdn    Add comment     W32 Constants      Translate this page
The inet_addr function converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address for the IN_ADDR structure.
Code examples:
Winsock: sending email messages (SMTP, port 25)
How to create non-blocking Winsock server
A client for testing non-blocking Winsock server
How to ping a remote site using IP Helper API calls
Obtaining MAC address through Address Resolution Protocol (ARP) request
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: reading email messages (POP3, port 110)
Winsock: retrieving Web pages using sockets (HTTP, port 80)
How to retrieve network parameters for the local computer (including Host name, Domain name, and DNS Server)
Winsock: connecting to a news server (NNTP, port 119)
Declaration:
unsigned long inet_addr(
  const char   FAR *cp  
);
FoxPro declaration:
DECLARE INTEGER inet_addr IN ws2_32;
    STRING cp
Parameters:
cp
[in] Null-terminated character string representing a number expressed in the Internet standard "."" (dotted) notation.
Return value:
If no error occurs, inet_addr returns an unsigned long value containing a suitable binary representation of the Internet address given. Otherwise the function returns the value INADDR_NONE (0x7F000001).
Word Index links for the inet_addr :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-21 19:47:41
Modified: 2001-12-21 19:50:06
Visited in last 7 days: 24
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.205.228.154)
8 sec.Function: 'NetUserGetGroups'
Function group: 'Network Management'
12 sec.Function: 'JetEndSession'
15 sec.Example: 'How to delete a service object'
30 sec.
Function group: 'Raw Input'
7 day(s)Example: 'Retrieving the names of all sections in an initialization file'
Google
Advertise here!