Space indent -> tab indent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33351 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -120,10 +120,11 @@ BNetAddress::operator=( const BNetAddress& other)
|
|||||||
* Class accessor.
|
* Class accessor.
|
||||||
*
|
*
|
||||||
* Output parameters:
|
* Output parameters:
|
||||||
* hostname : Host name associated with this instance (default: NULL).
|
* hostname: Host name associated with this instance (default: NULL).
|
||||||
* In this particular implementation, hostname will be an
|
* In this particular implementation, hostname will be an
|
||||||
* ASCII-fied representation of an IP address.
|
* ASCII-fied representation of an IP address.
|
||||||
* port : Port number associated with this instance
|
*
|
||||||
|
* port: Port number associated with this instance
|
||||||
* (default: NULL). Will be converted to host byte order
|
* (default: NULL). Will be converted to host byte order
|
||||||
* here, so it is not necessary to call ntohs() after
|
* here, so it is not necessary to call ntohs() after
|
||||||
* calling this method.
|
* calling this method.
|
||||||
@@ -172,7 +173,7 @@ BNetAddress::GetAddr(char* hostname, unsigned short* port) const
|
|||||||
* Class accessor.
|
* Class accessor.
|
||||||
*
|
*
|
||||||
* Output parameter:
|
* Output parameter:
|
||||||
* sa : sockaddr_in struct to be filled.
|
* sa: sockaddr_in struct to be filled.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* B_OK for success, B_NO_INIT if instance was not properly constructed.
|
* B_OK for success, B_NO_INIT if instance was not properly constructed.
|
||||||
@@ -209,8 +210,8 @@ status_t BNetAddress::GetAddr( struct sockaddr_in& sa ) const
|
|||||||
* Class accessor.
|
* Class accessor.
|
||||||
*
|
*
|
||||||
* Output parameters:
|
* Output parameters:
|
||||||
* addr : in_addr struct to fill.
|
* addr: in_addr struct to fill.
|
||||||
* port : optional port number to fill.
|
* port: optional port number to fill.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* B_OK for success, B_NO_INIT if instance was not properly constructed.
|
* B_OK for success, B_NO_INIT if instance was not properly constructed.
|
||||||
@@ -259,10 +260,10 @@ status_t BNetAddress::InitCheck()
|
|||||||
* Serialize this instance into the passed BMessage parameter.
|
* Serialize this instance into the passed BMessage parameter.
|
||||||
*
|
*
|
||||||
* Input parameter:
|
* Input parameter:
|
||||||
* deep : [ignored] default==true.
|
* deep: [ignored] default==true.
|
||||||
*
|
*
|
||||||
* Output parameter:
|
* Output parameter:
|
||||||
* into : BMessage object to serialize into.
|
* into: BMessage object to serialize into.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* B_OK/BERROR on success/failure. Returns B_NO_INIT if instance not
|
* B_OK/BERROR on success/failure. Returns B_NO_INIT if instance not
|
||||||
@@ -292,7 +293,7 @@ status_t BNetAddress::Archive( BMessage* into, bool deep ) const
|
|||||||
* Un-serialize and instantiate from the passed BMessage parameter.
|
* Un-serialize and instantiate from the passed BMessage parameter.
|
||||||
*
|
*
|
||||||
* Input parameter:
|
* Input parameter:
|
||||||
* archive : Archived BMessage object for (de)serialization.
|
* archive: Archived BMessage object for (de)serialization.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* NULL if a BNetAddress instance can not be initialized, otherwise
|
* NULL if a BNetAddress instance can not be initialized, otherwise
|
||||||
@@ -323,12 +324,12 @@ BNetAddress::Instantiate(BMessage* archive)
|
|||||||
* Set hostname and port network address data.
|
* Set hostname and port network address data.
|
||||||
*
|
*
|
||||||
* Input parameters:
|
* Input parameters:
|
||||||
* hostname : Can be one of three things:
|
* hostname: Can be one of three things:
|
||||||
* 1. An ASCII-string representation of an IP address.
|
* 1. An ASCII-string representation of an IP address.
|
||||||
* 2. A canonical hostname.
|
* 2. A canonical hostname.
|
||||||
* 3. NULL. If NULL, then by default the address will be
|
* 3. NULL. If NULL, then by default the address will be
|
||||||
* set to INADDR_ANY (0.0.0.0).
|
* set to INADDR_ANY (0.0.0.0).
|
||||||
* port : Duh.
|
* port: Duh.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* B_OK/B_ERROR for success/failure.
|
* B_OK/B_ERROR for success/failure.
|
||||||
@@ -431,13 +432,13 @@ BNetAddress::SetTo(uint32 addr, int port)
|
|||||||
* Set from passed in hostname and protocol/service information.
|
* Set from passed in hostname and protocol/service information.
|
||||||
*
|
*
|
||||||
* Input parameters:
|
* Input parameters:
|
||||||
* hostname : Can be one of three things:
|
* hostname: Can be one of three things:
|
||||||
* 1. An ASCII-string representation of an IP address.
|
* 1. An ASCII-string representation of an IP address.
|
||||||
* 2. A canonical hostname.
|
* 2. A canonical hostname.
|
||||||
* 3. NULL. If NULL, then by default the address will be
|
* 3. NULL. If NULL, then by default the address will be
|
||||||
* set to INADDR_ANY (0.0.0.0).
|
* set to INADDR_ANY (0.0.0.0).
|
||||||
* protocol : Datagram type, typically "TCP" or "UDP"
|
* protocol: Datagram type, typically "TCP" or "UDP"
|
||||||
* service : The name of the service, such as http, ftp, et al. This
|
* service: The name of the service, such as http, ftp, et al. This
|
||||||
* must be one of the official service names listed in
|
* must be one of the official service names listed in
|
||||||
* /etc/services -- but you already knew that because
|
* /etc/services -- but you already knew that because
|
||||||
* you're doing network/sockets programming, RIIIGHT???.
|
* you're doing network/sockets programming, RIIIGHT???.
|
||||||
|
|||||||
Reference in New Issue
Block a user