Methods of Class ConnectorSocket
-
ConnectorSocket
- ConnectorSocket(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
Creates a socket that can connect to a (remote) host.
- Parameters
Type |
For some protocols it might be desirable to
use a different type than sock_stream (like sock_seqpacket).
Therefore we do not hide this parameter here.
|
-
connect
- oslSocketResult connect(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
Connects the socket to a (remote) host.
- Parameters
TargetHost |
The address of the target.
|
pTimeOut |
The timeout for blocking.
|
- Return
result_ok if connected successfully,
result_timeout on timeout,
result_interrupted if unblocked forcefully (by close()),
result_error if connect failed.
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.