Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   BindSocket
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Internet connectivity
 
File transfer (FTP)
Hypertext transfer (HTTP)
IMAP library
MIME and RFC822
POP3 email
Simple Mail Transfer Protocol (SMTP)
TCP/IP connections
BindSocket
  Bind a TCP/IP socket to an IP address and/or a port
 
Library wh::internet/tcpip.whlib
 
Syntax PUBLIC BOOLEAN FUNCTION BindSocket (INTEGER connectionid,STRING host,INTEGER port)
 
Parameters
connectionid Connection ID to bind
host IP address or hostname to bind to, or empty for bind-anywhere
port Port to bind to, or 0 to bind to at any available port
 
Returns True on a succesful bind, false on failure
 
 
In library 'tcpip'
AcceptOnTCPSocket
BindSocket
CloseSocket
ConnectSocket
CreateTCPSocket
CreateUDPSocket
GetHostNameFromURL
GetLastSocketError
GetLocalSocketIP
GetLocalSocketPort
GetPathFromURL
GetPortFromURL
GetRemoteSocketIP
GetRemoteSocketPort
GetSocketErrorText
GetSystemHostName
IsValidHostName
IsValidIPAddress
ListenOnTCPSocket
PrettyIPMask
ReadFromSocket
ResolveHostname
ResolveIPAddress
SetSecureConnection
SetSocketTimeout
StandardizeIPMask
UDPReceive
UDPSend
 
Top To top of page