How peek at tcp socket data w/o reading it

From: Kiniger, Karl (GE Healthcare) (karl.kiniger_at_med.ge.com)
Date: 01/31/05

  • Next message: Matthias-Christian Ott: "My System doesn't use swap!"
    To: linux-kernel@vger.kernel.org
    Date:	Mon, 31 Jan 2005 11:45:32 +0100
    
    

    Hi,

    hack wanted:

    is it possible to peek a few bytes from a tcp socket which is
    ready to read without actually reading the data? (or some
    means to push already read data back similar to ungetc)

    Any creative ideas welcome.

    Karl

    -- 
    Karl Kiniger   mailto:karl.kiniger@med.ge.com
    GE Medical Systems Kretztechnik GmbH & Co OHG
    Tiefenbach 15       Tel: (++43) 7682-3800-710
    A-4871 Zipf Austria Fax: (++43) 7682-3800-47
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Matthias-Christian Ott: "My System doesn't use swap!"

    Relevant Pages