Language
	
	
  
  
    
    
The Free and Open Productivity Suite
   
      
      
 
| PUBLIC MEMBERS: | 
 CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA | 
:: osl :: class AcceptorSocket
- Base Classes
 
Socket (public)
  |  
  +--AcceptorSocket
 
- Known Derived Classes
 
- None.
 
| virtual | 
abstract | 
interface | 
template | 
| NO | 
NO | 
NO | 
NO | 
- Summary
 
- Allows to accept socket connections.
 
- File
 
- socket_decl.hxx
 
Public Members
 
-  
Methods
 | 
  
AcceptorSocket( oslAddrFamily Family = osl_Socket_FamilyInet, oslProtocol Protocol = osl_Socket_ProtocolIp, oslSocketType Type = osl_Socket_TypeStream ); | 
  | 
sal_Bool  
listen( sal_Int32 MaxPendingConnections = - 1 ); | 
 Prepare a socket for the accept-call. The socket must have been
bound before to the local address.
 | 
oslSocketResult  
acceptConnection( StreamSocket & Connection ); | 
 Accepts incoming connections on the socket. You must
precede this call with osl::Socket::bind() and listen().
 | 
oslSocketResult  
acceptConnection( StreamSocket & Connection, SocketAddr & PeerAddr ); | 
 Accepts incoming connections on the socket. You must
precede this call with osl::Socket::bind() and listen().
 | 
 
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.