[Mpls-pm] Perl Socket programming problem with Windows

Torleiv Flatebo Ringer ringert at consumption.net
Wed Aug 17 15:39:06 PDT 2005


Do you have the ability to sniff the packets that the client is sending?
Like using tcpdump or ngrep?

torleiv

what you said

> > Hello,
> >
> > I'm writing a TCP Server program that polls waits for socket
> > connections on a specified port.  The connection will be coming from a
> "black box"
> > test harness written in C#.Net.  The connection hand-shake design is
> > as
> > follow:
> >
> > On my Server end, I can start the server and wait for connections.
> > When the Client makes a request to the Server, the Server accepts the
> > connections, but I can't read the data being sent. When I attempt to
> > read the data stream on the Server, it wait about 5 seconds, then the
> > Client hangs. I'm using IO::Socket and IO::Select, and I've tried
> > read, recv, <>, Open(filehandle), all attempts result with the same
> error.
> >
> > The programmer for the Black Box side assures me that he is not
> > putting any special end-of-line characters in his output string.  I'm
> > at a total loss for what is going on here. Any help would be
> appreciated.
> >
> > Thanks,
> >
> > Paul Krcma
> > CMI Client/Server (EISS)
> > 612-316-3712
> >

-- 
As fast as it ever got, it never got fast enough for me.
  Hunter S. Thompson


More information about the Mpls-pm mailing list