BNetEndpoint Summary


Function Summary

Function Description
= Makes one BNetEndpoint identical to another
Accept() Selects blocking or nonblocking I/O mode
Archiving BNetEndpoints
Bind() Binds the BNetEndpoint to a specific local address
Close() Closes the connection, if one exists, and discards unread data
Connect() Establishes a connection to a remote computer
Constructor and Destructor
Error() Returns the last send/receive error code
ErrorStr() Returns a string describing the last error
Function Summary
InitCheck() Indicates whether or not the object was initialized successfully
IsDataPending() Returns true if there's data waiting to be received
Listen() Sets endpoint options
LocalAddr() Sets endpoint options
Member Functions
BNetEndpoint
BNetEndpoint() Constructor
~BNetEndpoint Destructor
Operators
Receive() Receives data from the remote computer
ReceiveFrom() Receives data from the specified network address
RemoteAddr() Selects blocking or nonblocking I/O mode
Send() Sends data to the remote end of the connection
SendTo() Sends data to the specified destination address
SetNonBlocking() Selects blocking or nonblocking I/O mode
SetOption() Sets endpoint options
SetProtocol() Sets the protocol type for the connection
SetReuseAddr() Selects or disables address reusing mode
SetTimeout() Sets the optional timeout for calls to Receive() and ReceiveFrom()
Socket() Returns the socket used for connections on this BNetEndpoint


The Network Kit Table of Contents     The Network Kit Index


The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..