Go to the source code of this file.
Defines | |
#define | BUFFERSIZE 128 |
#define | TCPPORT 23 |
Functions | |
void | StreamCopy (FILE *istream, FILE *ostream, char *cop) |
void | Receiver (void *arg) |
int | main (void) |
#define TCPPORT 23 |
void Receiver | ( | void * | arg | ) |
Definition at line 102 of file rs232d.c.
References NutThreadSetPriority(), NutThreadYield(), and StreamCopy().
Referenced by main().
int main | ( | void | ) |
Definition at line 125 of file rs232d.c.
References _fdopen(), _fileno(), _ioctl(), DEV_ETHER, DEV_ETHER_NAME, DEV_UART, DEV_UART_NAME, fclose(), fopen(), inet_addr(), NutDhcpIfConfig(), NutNetIfConfig(), NutRegisterDevice(), NutTcpAccept(), NutTcpCloseSocket(), NutTcpCreateSocket(), NutThreadCreate(), Receiver(), StreamCopy(), TCPPORT, and UART_SETSPEED.