socketlisten
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 >> socketlisten <=  =>      <  1  >  
socketlisten – listen (wait) for a connection on a socket

BEE Script:   socketlisten socketObj [backlog=integer];

 

BEE Tag:      <beesocketlisten socketObj [backlog=integer]>

 

The "socketlisten" command is usually used by a server process.  This command "registered" its interest to the system on connections made to the address and port specified in a previous "socketbind" command.  It is usually followed by a "socketaccept" command to wait for and accept the new connection given to the process by the system.

Parameters

socket (the socketObj) is the name of the socket to be suspended for "listening".

backlog is the maximum number of connections allowed to be queued before the process accept the first connection (see "socketaccept").  The default is 5.

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