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:
ws_connect
..msdn    Add comment     W32 Constants      Translate this page
The connect function establishes a connection to a specified socket.
Code examples:
Declaration:
int connect(
  SOCKET s,
  const struct sockaddr* name,
  int namelen
);
FoxPro declaration:
DECLARE INTEGER connect IN ws2_32 AS ws_connect;
    INTEGER   s,;
    STRING  @ sname,;
    INTEGER   namelen

Parameters:
s
[in] Descriptor identifying an unconnected socket.

name
[in] Name of the socket in the SOCKADDR structure to which the connection should be established.

namelen
[in] Length of name, in bytes
Return value:
If no error occurs, connect returns zero.
Word Index links for the ws_connect :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-02-05 19:11:43
Modified: 2003-02-05 19:39:15
Visited in last 7 days: 25
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.91.38.173)
7 sec.Function: 'FreeEnvironmentStrings'
16 sec.Function: 'SystemParametersInfo'
25 sec.Function: 'SetFilePointer'
33 sec.Function: 'SetSuspendState'
41 sec.Function: 'UpdateResource'
51 sec.Function: 'SystemParametersInfo'
59 sec.Function: 'WriteProcessMemory'
1.12 min.Function: 'MessageBox'
1.25 min.Function: 'WinHttpOpenRequest'
1.4 min.Function: 'GetKBCodePage'
Google
Advertise here!