socketcontrol
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 >> socketcontrol <=  =>      <  1  >  
socketcontrol – control some behaviours of the socket

BEE Script:      socketcontrol socketObj [blocking=bool] [timeout=integer];

 

BEE Tag:      <beesocketcontrol socketObj [blocking=bool] [timeout=integer]>

 

The "socketcontrol" command changes the behaviour of the socket.

Parameters

socket (the socketObj) is the name of the socket to have the behaviour changed.

blocking is used to change the socket to non-blocking by specifying "blocking" as false (e.g. 0).  In the current version of BEE, you cannot set a non-blocking socket back to blocking.

timeout is the number of seconds the blocking will persist until the process resume its operation even without an input.

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