..msdn Add comment W32 Constants Translate this page
Establishes a connection to another socket application, exchanges connect data, and specifies required quality of service based on the specified FLOWSPEC structure.|
const struct sockaddr* name,
DECLARE INTEGER WSAConnect IN ws2_32;
[in] Descriptor identifying an unconnected socket.
[in] Name of the socket in a sockaddr structure in the other application to which to connect.
[in] Length of name, in bytes.
[in] Pointer to the user data that is to be transferred to the other socket during connection establishment. See Remarks.
[out] Pointer to the user data that is to be transferred back from the other socket during connection establishment. See Remarks.
[in] Pointer to the FLOWSPEC structures for socket s, one for each direction.
[in] Reserved for future use with socket groups. A pointer to the FLOWSPEC structures for the socket group (if applicable). Should be NULL.
|If no error occurs, WSAConnect returns zero. Otherwise, it returns SOCKET_ERROR, and a specific error code can be retrieved by calling WSAGetLastError.|
cBuffer = num2word(AF_INET) +;
= WSAConnect(m.hSocket, @cBuffer,;
|Word Index links for the WSAConnect :|
|Translate this page:|
Visited in last 7 days: 23
|Created: ||2006-05-15 16:13:21|
|Modified: ||2007-06-11 16:23:14|
Copyright © 2001-2018
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.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.6.39), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.