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 * pppdebug.h - System debugging utilities.
tax 0:66300c77c6e9 3 *
tax 0:66300c77c6e9 4 * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
tax 0:66300c77c6e9 5 * portions Copyright (c) 1998 Global Election Systems Inc.
tax 0:66300c77c6e9 6 * portions Copyright (c) 2001 by Cognizant Pty Ltd.
tax 0:66300c77c6e9 7 *
tax 0:66300c77c6e9 8 * The authors hereby grant permission to use, copy, modify, distribute,
tax 0:66300c77c6e9 9 * and license this software and its documentation for any purpose, provided
tax 0:66300c77c6e9 10 * that existing copyright notices are retained in all copies and that this
tax 0:66300c77c6e9 11 * notice and the following disclaimer are included verbatim in any
tax 0:66300c77c6e9 12 * distributions. No written agreement, license, or royalty fee is required
tax 0:66300c77c6e9 13 * for any of the authorized uses.
tax 0:66300c77c6e9 14 *
tax 0:66300c77c6e9 15 * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
tax 0:66300c77c6e9 16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
tax 0:66300c77c6e9 17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
tax 0:66300c77c6e9 18 * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
tax 0:66300c77c6e9 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
tax 0:66300c77c6e9 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
tax 0:66300c77c6e9 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
tax 0:66300c77c6e9 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
tax 0:66300c77c6e9 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
tax 0:66300c77c6e9 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tax 0:66300c77c6e9 25 *
tax 0:66300c77c6e9 26 ******************************************************************************
tax 0:66300c77c6e9 27 * REVISION HISTORY (please don't use tabs!)
tax 0:66300c77c6e9 28 *
tax 0:66300c77c6e9 29 * 03-01-01 Marc Boucher <marc@mbsi.ca>
tax 0:66300c77c6e9 30 * Ported to lwIP.
tax 0:66300c77c6e9 31 * 98-07-29 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
tax 0:66300c77c6e9 32 * Original.
tax 0:66300c77c6e9 33 *
tax 0:66300c77c6e9 34 *****************************************************************************
tax 0:66300c77c6e9 35 */
tax 0:66300c77c6e9 36 #ifndef PPPDEBUG_H
tax 0:66300c77c6e9 37 #define PPPDEBUG_H
tax 0:66300c77c6e9 38
tax 0:66300c77c6e9 39 /* Trace levels. */
tax 0:66300c77c6e9 40 #define LOG_CRITICAL (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
tax 0:66300c77c6e9 41 #define LOG_ERR (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
tax 0:66300c77c6e9 42 #define LOG_NOTICE (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
tax 0:66300c77c6e9 43 #define LOG_WARNING (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
tax 0:66300c77c6e9 44 #define LOG_INFO (PPP_DEBUG)
tax 0:66300c77c6e9 45 #define LOG_DETAIL (PPP_DEBUG)
tax 0:66300c77c6e9 46 #define LOG_DEBUG (PPP_DEBUG)
tax 0:66300c77c6e9 47
tax 0:66300c77c6e9 48
tax 0:66300c77c6e9 49 #define TRACELCP PPP_DEBUG
tax 0:66300c77c6e9 50
tax 0:66300c77c6e9 51 #if PPP_DEBUG
tax 0:66300c77c6e9 52
tax 0:66300c77c6e9 53 #define AUTHDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 54 #define IPCPDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 55 #define UPAPDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 56 #define LCPDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 57 #define FSMDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 58 #define CHAPDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 59 #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b)
tax 0:66300c77c6e9 60
tax 0:66300c77c6e9 61 #else /* PPP_DEBUG */
tax 0:66300c77c6e9 62
tax 0:66300c77c6e9 63 #define AUTHDEBUG(a, b)
tax 0:66300c77c6e9 64 #define IPCPDEBUG(a, b)
tax 0:66300c77c6e9 65 #define UPAPDEBUG(a, b)
tax 0:66300c77c6e9 66 #define LCPDEBUG(a, b)
tax 0:66300c77c6e9 67 #define FSMDEBUG(a, b)
tax 0:66300c77c6e9 68 #define CHAPDEBUG(a, b)
tax 0:66300c77c6e9 69 #define PPPDEBUG(a, b)
tax 0:66300c77c6e9 70
tax 0:66300c77c6e9 71 #endif /* PPP_DEBUG */
tax 0:66300c77c6e9 72
tax 0:66300c77c6e9 73 #endif /* PPPDEBUG_H */