socketconnect
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    v BEE Commands
       > Variable Operations
       > Conditional
       > Loop
       > Module Calling
       > Remote Calling
       > Authentication
       > Data Access
       v Socket
          o socketcreate
          o socketbind
          o socketlisten
          o socketaccept
          o socketconnect
          o socketread
          o socketwrite
          o socketclose
          o socketcontrol
       > Special Functions
    > Database Operation
    > Content Management
    > Objects and Classes
    > Interface with others
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> BEE Commands >> Socket >> socketconnect <=  =>      <  1  >  
socketconnect – make a connection on a socket

BEE Script:      socketconnect socketObj address=string port=integer;

 

BEE Tag:      <beesocketconnect socketObj address=string port=integer>

 

The "socketconnect" command initiates a connection to a remote (server) address and port via the socket.  This command is usually used by a client process.

Parameters

socket (the socketObj) is the name of the socket to connect.

address is the address that the socket is making connection to.  For AF_INET domain, it is an IP address, or a host name resolvable to an IP via the DNS (Domain Name Service).

port is a service identifier.  e.g. SMTP (port 25) for e-mail and HTTP (port 80) for the web.  It may be specified as a service name recognisable by the remote system.

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd