[Mpls-pm] Perl Socket programming problem with Windows
Paul.Krcma@wellsfargo.com
Paul.Krcma at wellsfargo.com
Wed Aug 17 15:20:00 PDT 2005
You know what? I gave up on user group email lists along time ago,
because of replies like your's. And here I was, thinking this email
group would be professional. Some things never change.
I just subscribed to this group. It's time to unsubscribe.
-----Original Message-----
From: mpls-pm-bounces at pm.org [mailto:mpls-pm-bounces at pm.org] On Behalf
Of shamu112 at yahoo.com
Sent: Wednesday, August 17, 2005 2:09 PM
To: Paul.Krcma at wellsfargo.com
Cc: mpls-pm at pm.org
Subject: Re: [Mpls-pm] Perl Socket programming problem with Windows
Consult the Book of Armaments, chapter two, verses nine through
twenty-one.
Read thy perldoc perlipc.
Incidentally, why 1024 in recv()?
- Mark
On Wed, Aug 17, 2005 at 01:18:27PM -0500, Paul.Krcma at wellsfargo.com
wrote:
>
> 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:
>
> Black Box requests to connect to the Server Server responds back with
> a "Challenge" with a hardcode string "1001|1000"
> The Black Box reads the Challenge, then returns another request as
> "1001|1100"
> The Server will then processes the second request.
>
> 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.
> ....clipped...
>
> 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
>
_______________________________________________
Mpls-pm mailing list
Mpls-pm at pm.org
http://mail.pm.org/mailman/listinfo/mpls-pm
More information about the Mpls-pm
mailing list