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:
How to build UDP responder
How to create non-blocking Winsock server
Winsock: connecting to a news server (NNTP, port 119)
Winsock: reading and setting socket options
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
WSAGetLastError
..msdn    Add comment     W32 Constants      Translate this page
The WSAGetLastError function returns the error status for the last operation that failed.
Code examples:
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: resolving an address to a host name
How to create non-blocking Winsock server
How to build UDP responder
Winsock: retrieving the host information corresponding to a network address
Winsock: reading and setting socket options
Declaration:
int WSAGetLastError (void);
FoxPro declaration:
DECLARE INTEGER WSAGetLastError IN ws2_32
Parameters:
This function has no parameters.
Return value:
The return value indicates the error code for this thread"s last Windows Sockets operation that failed.
My comment:
MSDN: a successful function call, or a call to WSAGetLastError, does not reset the error code. To reset the error code, use the WSASetLastError function call with iError set to zero.
Word Index links for the WSAGetLastError :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-16 22:15:33
Modified: 2001-12-16 22:17:08
Visited in last 7 days: 55
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.221.93.187)
15 sec.Function: 'DeleteObject'
28 sec.Function: 'GetNamedSecurityInfo'
42 sec.Function: 'ImageList_GetIconSize'
55 sec.Function: 'ReleaseCapture'
1.13 min.Function: 'GlobalFree'
1.38 min.Function: 'SHBrowseForFolder'
1.63 min.Function: 'CeRapiInit'
1.9 min.Function: 'GdipGetImageEncodersSize'
2.15 min.Function: 'EndPath'
2.43 min.Function: 'GdipBitmapGetPixel'
Google
Advertise here!