OpenCores
URL https://opencores.org/ocsvn/tcp_socket/tcp_socket/trunk

Subversion Repositories tcp_socket

[/] [tcp_socket/] [trunk/] [source/] [server.c] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jondawson
////////////////////////////////////////////////////////////////////////////////
2
//
3
//  CHIPS-2.0 TCP/IP SERVER
4
//
5
//  :Author: Jonathan P Dawson
6
//  :Date: 17/10/2013
7
//  :email: chips@jondawson.org.uk
8
//  :license: MIT
9
//  :Copyright: Copyright (C) Jonathan P Dawson 2013
10
//
11
//  A TCP/IP stack that supports a single socket connection.
12
//
13
////////////////////////////////////////////////////////////////////////////////
14
void put_eth(unsigned i){
15
        output_eth_tx(i);
16
}
17
void put_socket(unsigned i){
18
        output_socket(i);
19
}
20
unsigned get_eth(){
21
        return input_eth_rx();
22
}
23
unsigned rdy_eth(){
24
        return ready_eth_rx();
25
}
26
unsigned get_socket(){
27
        return input_socket();
28
}
29
#include "server.h"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.