Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

chargen.h File Reference

chargen.h File Reference

Character generator protocol. More...

Go to the source code of this file.

Data Structures

struct  ChargenServiceContext
 Chargen service context. More...

Functions

error_t tcpChargenStart (void)
 Start TCP chargen service.
void tcpChargenListenerTask (void *param)
 Task handling connection requests.
void tcpChargenConnectionTask (void *param)
 TCP chargen service implementation.
error_t udpChargenStart (void)
 Start UDP chargen service.
void udpChargenTask (void *param)
 UDP chargen service implementation.

Detailed Description

Character generator 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 chargen.h.


Function Documentation

void tcpChargenConnectionTask ( void *  param )

TCP chargen service implementation.

Parameters:
[in]paramPointer to the chargen service context

Definition at line 199 of file chargen.c.

void tcpChargenListenerTask ( void *  param )

Task handling connection requests.

Parameters:
[in]paramPointer to the chargen service context

Definition at line 126 of file chargen.c.

error_t tcpChargenStart ( void   )

Start TCP chargen service.

Returns:
Error code

Definition at line 64 of file chargen.c.

error_t udpChargenStart ( void   )

Start UDP chargen service.

Returns:
Error code

Definition at line 275 of file chargen.c.

void udpChargenTask ( void *  param )

UDP chargen service implementation.

Parameters:
[in]paramPointer to the chargen service context

Definition at line 344 of file chargen.c.