C++ stream-compatible TCP/IP sockets (Demo application)

Discussion in 'C++' started by Alex Vinokur, Aug 4, 2003.

  1. Alex Vinokur

    Alex Vinokur Guest

    C++ Stream-Compatible TCP/IP Sockets
    ------------------------------------

    http://alexvn.freeservers.com/s1/sock.html
    http://sourceforge.net/projects/cpp-sockets/

    The program implements the wrappers that can be used as a iostream-compatible TCP/IP sockets.
    The wrappers have been written by Maciej Sobczak: http://www.maciejsobczak.com

    The program also contains two demo applications.
    Demo1 application has been written by Maciej Sobczak.
    Demo2 application has been written by Alex Vinokur.


    Demo2 Application Protocol (in general outline)
    - - - - - - - - - - - - - - - - - - - - - - - -
    Client's request is a packet which contains :
    * request-id,
    * data type (typeid(T).name()),
    * data size (number of items),
    * data which is a vector of items;
    size of vector == number of items
    The packet may contain data of any type, for instance,
    vector<int>, vector<string>, vector<User-Defined-Type>.
    To create the request the client analyses the reply
    (on its previous request) received from the server.

    Server's reply consists of several packets of
    different types (subreplies).
    To create the reply the server analyses the request
    received from the client.

    Raw Logs : http://groups.google.com/groups?th=febd5696b03dfa8

    =====================================
    Alex Vinokur
    mailto:
    http://mathforum.org/library/view/10978.html
    =====================================
    Alex Vinokur, Aug 4, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gordon Beaton

    Sockets and TCP Data Segments

    Gordon Beaton, Nov 10, 2004, in forum: Java
    Replies:
    6
    Views:
    1,113
    Esmond Pitt
    Nov 13, 2004
  2. F. GEIGER
    Replies:
    9
    Views:
    1,201
    F. GEIGER
    May 3, 2004
  3. Andy Leszczynski

    wxPython demo /Process does not open new demo

    Andy Leszczynski, Feb 18, 2005, in forum: Python
    Replies:
    1
    Views:
    634
    Andy Leszczynski
    Feb 18, 2005
  4. Tiger
    Replies:
    5
    Views:
    957
    Dave Thompson
    May 1, 2006
  5. pantagruel
    Replies:
    0
    Views:
    226
    pantagruel
    Feb 17, 2006
Loading...

Share This Page