Echo Service
[Applications]

Collaboration diagram for Echo Service:

Files

file  echo.c
 

Echo application.


Defines

#define NAME   "Echo"
 Echo module name.

Functions

void echo_print_help (void)
 Prints the application help.
int main (int argc, char *argv[])
 Module entry point.

Define Documentation

#define NAME   "Echo"

Echo module name.

Referenced by main(), and module_print_name().


Function Documentation

void echo_print_help ( void   ) 

Prints the application help.

Referenced by main().

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Module entry point.

Reads command line parameters and starts listenning.

Parameters:
[in] argc The number of command line parameters.
[in] argv The command line parameters.
Returns:
EOK on success.

Starts testing.

Parameters:
[in] argc The number of command line parameters.
[in] argv The command line parameters.
Returns:
EOK on success.
Parameters:
[in] argc The number of command line parameters.
[in] argv The command line parameters.
Returns:
EOK on success.
EINVAL if the net module cannot be started.
Other error codes as defined for the self_test() function.
Other error codes as defined for the NET_NET_STARTUP message.

References accept(), AF_INET, AF_INET6, bind(), closesocket(), count, EAFNOSUPPORT, echo_print_help(), ERROR_CODE, ERROR_DECLARE, ERROR_OCCURRED, ERROR_PROPAGATE, htons, INET6_ADDRSTRLEN, inet_ntop(), listen(), NAME, ntohs, parse_parameter_int(), parse_parameter_name_int(), parse_parameter_string(), parse_protocol_family(), parse_socket_type(), PF_INET, PF_INET6, print_unrecognized(), recvfrom(), reply(), in6_addr::s6_addr, in_addr::s_addr, sockaddr::sa_family, sendto(), sockaddr_in6::sin6_addr, sockaddr_in6::sin6_family, sockaddr_in6::sin6_port, sockaddr_in::sin_addr, sockaddr_in::sin_family, sockaddr_in::sin_port, SOCK_DGRAM, SOCK_STREAM, socket(), and socket_print_error().

Here is the call graph for this function:


Generated on Thu Mar 11 20:48:17 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1