Webserver+3d print

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

echo.h File Reference

echo.h File Reference

Echo protocol. More...

Go to the source code of this file.

Data Structures

struct  EchoServiceContext
 Echo service context. More...

Functions

error_t tcpEchoStart (void)
 Start TCP echo service.
void tcpEchoListenerTask (void *param)
 Task handling connection requests.
void tcpEchoConnectionTask (void *param)
 TCP echo service implementation.
error_t udpEchoStart (void)
 Start UDP echo service.
void udpEchoTask (void *param)
 UDP echo service implementation.

Detailed Description

Echo protocol.

License

Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
Oryx Embedded SARL (www.oryx-embedded.com)
Version:
1.7.6

Definition in file echo.h.


Function Documentation

void tcpEchoConnectionTask ( void *  param )

TCP echo service implementation.

Parameters:
[in]paramPointer to the echo service context

Definition at line 192 of file echo.c.

void tcpEchoListenerTask ( void *  param )

Task handling connection requests.

Parameters:
[in]paramPointer to the echo service context

Definition at line 119 of file echo.c.

error_t tcpEchoStart ( void   )

Start TCP echo service.

Returns:
Error code

Definition at line 57 of file echo.c.

error_t udpEchoStart ( void   )

Start UDP echo service.

Returns:
Error code

Definition at line 324 of file echo.c.

void udpEchoTask ( void *  param )

UDP echo service implementation.

Parameters:
[in]paramPointer to the echo service context

Definition at line 402 of file echo.c.