Servertec | Socket( )
M E N U Content Introduction Release Notes Requirements Installation Change Log Future Plans Knowledge Base Referance Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Cookie Date Error File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Server Side Preprocessor Executable Make Samples Legal Feedback | Returns a new socket connected to the specified remote inet address object and port and local inet address object and port. #### Syntax Socket( inetaddress, port ) Socket( inetaddress, port ) Socket( inetaddress, port, boolean ) Socket( inetaddress, port, localaddress, localport ) Socket( host, port ) Socket( host, port, boolean ) Socket( host, port, localaddress, localport ) #### Parameters inetaddress the inet address object to use. port the port number. boolean true to create a stream socket object. false to create a datagram socket object. localaddress the local inet address object the socket is bound to. localport the local port number the socket is bound to. #### Returns socket the new socket object. #### Example s = Socket( host, port )
top of page
| Copyright © 1997-1998 Servertec. All rights reserved. Last Modified: Wed Apr 15 00:16:38 EDT 1998