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
Winsock: connecting to a news server (NNTP, port 119)
Winsock: reading email messages (POP3, port 110)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Winsock: retrieving Web pages using sockets (HTTP, port 80)
Winsock: sending email messages (SMTP, port 25)
send
..msdn    Add comment     W32 Constants      Translate this page
The send function sends data on a connected socket.
Code examples:
Winsock: sending email messages (SMTP, port 25)
Winsock: retrieving Web pages using sockets (HTTP, port 80)
Winsock: connecting to a news server (NNTP, port 119)
Winsock: reading email messages (POP3, port 110)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
A client for testing non-blocking Winsock server
Declaration:
int send(
  SOCKET s,
  const char* buf,
  int len,
  int flags
);
FoxPro declaration:
DECLARE INTEGER send IN ws2_32;
    INTEGER   s,;
    STRING  @ buf,;
    INTEGER   buflen,;
    INTEGER   flags

Parameters:
s
[in] Descriptor identifying a connected socket.

buf
[in] Buffer containing the data to be transmitted.

len
[in] Length of the data in buf, in bytes

flags
[in] Indicator specifying the way in which the call is made.
Return value:
If no error occurs, send returns the total number of bytes sent, which can be less than the number indicated by len.
Word Index links for the send :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-02-05 19:24:40
Modified: 2003-02-05 19:35:14
Visited in last 7 days: 25
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.242.179)
2 sec.Solution: 'Extended MessageBox Library (assembly) for .NET'
3 sec.Function: 'CeCopyFile'
Function group: 'Remote Application Programming (RAPI)'
6 sec.Example: 'Testing serial ports'
12 sec.Function: 'WinHttpOpen'
Google
Advertise here!