Tracing a c/s application.

From: TLOlczyk (olczyk2002_at_yahoo.com)
Date: 09/24/04

  • Next message: Wiseguy: "Re: Forking Java GUI Apps"
    Date: Thu, 23 Sep 2004 23:48:45 -0500
    
    

    I've been asked to test an application.
    This application comes in three variants.
    It runs locally.
    It runs as client server ( client connects to
    a socket, xinetd starts server and redirects socket ).
    It runs as an authenticated client-server via ssh.

    I've gotten the application to run in the first two modes,
    it's the third that gives me fits. Is there someway
    of checking out what is being said between the client
    and server and get am idea if everything is transmitted OK?

    One idea I had was to replace "server" with "strace -o /tmp/server.log
    server" in the xinted comfig files. Other suggestions?

    The reply-to email address is olczyk2002@yahoo.com.
    This is an address I ignore.
    To reply via email, remove 2002 and change yahoo to
    interaccess,

    **
    Thaddeus L. Olczyk, PhD

    There is a difference between
    *thinking* you know something,
    and *knowing* you know something.


  • Next message: Wiseguy: "Re: Forking Java GUI Apps"

    Relevant Pages

    • Re: Socket switch delay
      ... both at the client and at the server (and why ... would you set the send buffer size to zero on a non-overlapped ... One glaring error is your client does ... So when you use a single socket, ...
      (microsoft.public.win32.programmer.networks)
    • Re: Locking on async calls
      ... you must synchronize the entire SendMessage routine as an atomic ... operation to prevent mixed messages from being transmitted to the server. ... You are correct that read and write on the socket do not interfere with each ... If you want to handle multiple client connections from one server object ...
      (microsoft.public.dotnet.general)
    • Re: Design issue with WinSock/GetQueuedCompletionStatus
      ... delegate that to a shutdown routine called after all worker threads ... The application I've created is a server accepting connections on a few ... different TCP/IP ports and then lets the client run different commands. ... a TCP/IP socket can be closed for 2 different reasons: ...
      (microsoft.public.win32.programmer.networks)
    • Re: socket communication: socket doesnt connect
      ... Microsoft MVP, MCSD ... As far as your server code goes, ... accept the listening socket. ... Client client = new Client; ...
      (microsoft.public.vc.language)
    • Re: TCP server stop receiving new connections
      ... reset the event mask of your listening socket each time you ... I have a strange problem in my class library used by all our client ... server applications. ... incomming connections, but keeps current connections. ...
      (microsoft.public.win32.programmer.networks)