socketbind
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 >> socketbind <=  =>      <  1  >  
socketbind – bind an address and a port to a socket

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

 

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

 

The "socketbind" command binds an address and a port number to an existing socket.  It does not do communication but to specify the address and port for subsequent socket commands.  These properties are stored in the socketObj object.

Parameters

socket (the socketObj) is the name of the socket to be bound.

address is the address that the socket will communicate on.  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 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