I have a problem getting this to work. Server only recieves half of the data being sent. Whats wrong

Dependencies:   mbed

Committer:
tax
Date:
Tue Mar 29 13:20:15 2011 +0000
Revision:
0:66300c77c6e9

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tax 0:66300c77c6e9 1 /*
tax 0:66300c77c6e9 2 * Copyright (c) 2001, Swedish Institute of Computer Science.
tax 0:66300c77c6e9 3 * All rights reserved.
tax 0:66300c77c6e9 4 *
tax 0:66300c77c6e9 5 * Redistribution and use in source and binary forms, with or without
tax 0:66300c77c6e9 6 * modification, are permitted provided that the following conditions
tax 0:66300c77c6e9 7 * are met:
tax 0:66300c77c6e9 8 * 1. Redistributions of source code must retain the above copyright
tax 0:66300c77c6e9 9 * notice, this list of conditions and the following disclaimer.
tax 0:66300c77c6e9 10 * 2. Redistributions in binary form must reproduce the above copyright
tax 0:66300c77c6e9 11 * notice, this list of conditions and the following disclaimer in the
tax 0:66300c77c6e9 12 * documentation and/or other materials provided with the distribution.
tax 0:66300c77c6e9 13 * 3. Neither the name of the Institute nor the names of its contributors
tax 0:66300c77c6e9 14 * may be used to endorse or promote products derived from this software
tax 0:66300c77c6e9 15 * without specific prior written permission.
tax 0:66300c77c6e9 16 *
tax 0:66300c77c6e9 17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
tax 0:66300c77c6e9 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
tax 0:66300c77c6e9 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
tax 0:66300c77c6e9 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
tax 0:66300c77c6e9 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
tax 0:66300c77c6e9 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
tax 0:66300c77c6e9 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
tax 0:66300c77c6e9 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
tax 0:66300c77c6e9 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
tax 0:66300c77c6e9 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
tax 0:66300c77c6e9 27 * SUCH DAMAGE.
tax 0:66300c77c6e9 28 *
tax 0:66300c77c6e9 29 * This file is part of the lwIP TCP/IP stack.
tax 0:66300c77c6e9 30 *
tax 0:66300c77c6e9 31 * Author: Adam Dunkels <adam@sics.se>
tax 0:66300c77c6e9 32 *
tax 0:66300c77c6e9 33 */
tax 0:66300c77c6e9 34 #ifndef __NETIF_SLIPIF_H__
tax 0:66300c77c6e9 35 #define __NETIF_SLIPIF_H__
tax 0:66300c77c6e9 36
tax 0:66300c77c6e9 37 #include "lwip/netif.h"
tax 0:66300c77c6e9 38
tax 0:66300c77c6e9 39 #ifdef __cplusplus
tax 0:66300c77c6e9 40 extern "C" {
tax 0:66300c77c6e9 41 #endif
tax 0:66300c77c6e9 42
tax 0:66300c77c6e9 43 err_t slipif_init(struct netif * netif);
tax 0:66300c77c6e9 44 void slipif_poll(struct netif *netif);
tax 0:66300c77c6e9 45
tax 0:66300c77c6e9 46 #ifdef __cplusplus
tax 0:66300c77c6e9 47 }
tax 0:66300c77c6e9 48 #endif
tax 0:66300c77c6e9 49
tax 0:66300c77c6e9 50 #endif
tax 0:66300c77c6e9 51