From shamu112 at yahoo.com Wed Aug 10 14:13:11 2005 From: shamu112 at yahoo.com (shamu112@yahoo.com) Date: Wed, 10 Aug 2005 16:13:11 -0500 Subject: [Mpls-pm] Meeting tonight Message-ID: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> Anyone planning on showing up tonight? -Mark From twists at gmail.com Wed Aug 10 15:08:58 2005 From: twists at gmail.com (Joshua ben Jore) Date: Wed, 10 Aug 2005 17:08:58 -0500 Subject: [Mpls-pm] Meeting tonight In-Reply-To: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> References: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> Message-ID: On 8/10/05, shamu112 at yahoo.com wrote: > Anyone planning on showing up tonight? Not me. I accidentally scheduled some door-conkering for this evening. Josh From autarch at urth.org Wed Aug 10 15:10:18 2005 From: autarch at urth.org (Dave Rolsky) Date: Wed, 10 Aug 2005 17:10:18 -0500 (CDT) Subject: [Mpls-pm] Meeting tonight In-Reply-To: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> References: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> Message-ID: On Wed, 10 Aug 2005 shamu112 at yahoo.com wrote: > Anyone planning on showing up tonight? Doh, already made plans. For next month I could do a presentation if folks are interested. I just did 3 at YAPC I can do here. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From shamu112 at yahoo.com Wed Aug 10 15:46:58 2005 From: shamu112 at yahoo.com (shamu112@yahoo.com) Date: Wed, 10 Aug 2005 17:46:58 -0500 Subject: [Mpls-pm] Meeting tonight In-Reply-To: References: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> Message-ID: <20050810224658.GA9393@shamu.hsd1.mn.comcast.net> On Wed, Aug 10, 2005 at 05:10:18PM -0500, Dave Rolsky wrote: > For next month I could do a presentation if folks are interested. I just > did 3 at YAPC I can do here. That'd be cool. Should we schedule Veritas again? From autarch at urth.org Wed Aug 10 15:48:27 2005 From: autarch at urth.org (Dave Rolsky) Date: Wed, 10 Aug 2005 17:48:27 -0500 (CDT) Subject: [Mpls-pm] Meeting tonight In-Reply-To: <20050810224658.GA9393@shamu.hsd1.mn.comcast.net> References: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> <20050810224658.GA9393@shamu.hsd1.mn.comcast.net> Message-ID: On Wed, 10 Aug 2005 shamu112 at yahoo.com wrote: > On Wed, Aug 10, 2005 at 05:10:18PM -0500, Dave Rolsky wrote: >> For next month I could do a presentation if folks are interested. I just >> did 3 at YAPC I can do here. > > That'd be cool. Should we schedule Veritas again? Sure, paging Veritas ... -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From dworden at gmail.com Wed Aug 10 16:21:10 2005 From: dworden at gmail.com (David Worden) Date: Wed, 10 Aug 2005 18:21:10 -0500 Subject: [Mpls-pm] Meeting tonight In-Reply-To: References: <20050810211311.GA5536@shamu.hsd1.mn.comcast.net> <20050810224658.GA9393@shamu.hsd1.mn.comcast.net> Message-ID: Well, Since I've been gone from VRTS (now SYMC) since April of 2004, someone else will have to serve as your host. I think Tim B. might still be on this list however......... Regards, --djw On 8/10/05, Dave Rolsky wrote: > On Wed, 10 Aug 2005 shamu112 at yahoo.com wrote: > > > On Wed, Aug 10, 2005 at 05:10:18PM -0500, Dave Rolsky wrote: > >> For next month I could do a presentation if folks are interested. I just > >> did 3 at YAPC I can do here. > > > > That'd be cool. Should we schedule Veritas again? > > Sure, paging Veritas ... > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm > From ejseim at tech-pro.com Wed Aug 10 16:25:35 2005 From: ejseim at tech-pro.com (Ehren J. Seim) Date: Wed, 10 Aug 2005 18:25:35 -0500 Subject: [Mpls-pm] Meeting tonight Message-ID: Plenty of room at Tech-Pro (right across the street from Veritas). Hey, we'd even buy pizzas & sodas for the entire group. We have a conference room that will hold 25-30 individuals. Just a thought. --Ehren -----Original Message----- From: mpls-pm-bounces at pm.org [mailto:mpls-pm-bounces at pm.org] On Behalf Of David Worden Sent: Wednesday, August 10, 2005 6:21 PM To: Dave Rolsky Cc: Mpls-pm at pm.org Subject: Re: [Mpls-pm] Meeting tonight Well, Since I've been gone from VRTS (now SYMC) since April of 2004, someone else will have to serve as your host. I think Tim B. might still be on this list however......... Regards, --djw On 8/10/05, Dave Rolsky wrote: > On Wed, 10 Aug 2005 shamu112 at yahoo.com wrote: > > > On Wed, Aug 10, 2005 at 05:10:18PM -0500, Dave Rolsky wrote: > >> For next month I could do a presentation if folks are interested. > >> I just did 3 at YAPC I can do here. > > > > That'd be cool. Should we schedule Veritas again? > > Sure, paging Veritas ... > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm > _______________________________________________ Mpls-pm mailing list Mpls-pm at pm.org http://mail.pm.org/mailman/listinfo/mpls-pm This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. From autarch at urth.org Wed Aug 10 23:01:41 2005 From: autarch at urth.org (Dave Rolsky) Date: Thu, 11 Aug 2005 01:01:41 -0500 (CDT) Subject: [Mpls-pm] Meeting tonight In-Reply-To: References: Message-ID: On Wed, 10 Aug 2005, Ehren J. Seim wrote: > Plenty of room at Tech-Pro (right across the street from Veritas). Hey, > we'd even buy pizzas & sodas for the entire group. We have a conference > room that will hold 25-30 individuals. You can't beat free food. I want a cheeseless pizza with lots of veggies (no mushrooms though) ;) -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From ken at mathforum.org Thu Aug 11 05:16:04 2005 From: ken at mathforum.org (Ken Williams) Date: Thu, 11 Aug 2005 07:16:04 -0500 Subject: [Mpls-pm] Meeting tonight In-Reply-To: References: Message-ID: On Aug 10, 2005, at 6:25 PM, Ehren J. Seim wrote: > Plenty of room at Tech-Pro (right across the street from Veritas). > Hey, > we'd even buy pizzas & sodas for the entire group. We have a > conference > room that will hold 25-30 individuals. > > Just a thought. > That would be cool. Interestingly enough, I used to work for your CEO (and a little bit of data-entry work for Tech-Pro too) when I was a kid and the company was still being run out of his living room. -Ken From ejseim at tech-pro.com Thu Aug 11 05:31:20 2005 From: ejseim at tech-pro.com (Ehren J. Seim) Date: Thu, 11 Aug 2005 07:31:20 -0500 Subject: [Mpls-pm] Meeting tonight Message-ID: Done! -----Original Message----- From: mpls-pm-bounces at pm.org [mailto:mpls-pm-bounces at pm.org] On Behalf Of Dave Rolsky Sent: Thursday, August 11, 2005 1:02 AM To: Mpls-pm at pm.org Subject: Re: [Mpls-pm] Meeting tonight On Wed, 10 Aug 2005, Ehren J. Seim wrote: > Plenty of room at Tech-Pro (right across the street from Veritas). > Hey, we'd even buy pizzas & sodas for the entire group. We have a > conference room that will hold 25-30 individuals. You can't beat free food. I want a cheeseless pizza with lots of veggies (no mushrooms though) ;) -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ _______________________________________________ Mpls-pm mailing list Mpls-pm at pm.org http://mail.pm.org/mailman/listinfo/mpls-pm This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. From shane at aptest.com Thu Aug 11 06:35:53 2005 From: shane at aptest.com (Shane McCarron) Date: Thu, 11 Aug 2005 08:35:53 -0500 Subject: [Mpls-pm] Meeting tonight In-Reply-To: References: Message-ID: <42FB5439.9020605@aptest.com> In what possible world is cheeseless pizza considered food? Ehren J. Seim wrote: >Done! > >-----Original Message----- >From: mpls-pm-bounces at pm.org [mailto:mpls-pm-bounces at pm.org] On Behalf >Of Dave Rolsky >Sent: Thursday, August 11, 2005 1:02 AM >To: Mpls-pm at pm.org >Subject: Re: [Mpls-pm] Meeting tonight > >On Wed, 10 Aug 2005, Ehren J. Seim wrote: > > > >>Plenty of room at Tech-Pro (right across the street from Veritas). >>Hey, we'd even buy pizzas & sodas for the entire group. We have a >>conference room that will hold 25-30 individuals. >> >> > >You can't beat free food. I want a cheeseless pizza with lots of >veggies (no mushrooms though) ;) > > >-dave > >/*=================================================== >VegGuide.Org www.BookIRead.com >Your guide to all that's veg. My book blog >===================================================*/ >_______________________________________________ >Mpls-pm mailing list >Mpls-pm at pm.org >http://mail.pm.org/mailman/listinfo/mpls-pm > >This electronic mail (including any attachments) may contain information that >is privileged, confidential, and/or otherwise protected from disclosure to >anyone other than its intended recipient(s). Any dissemination or use of this >electronic email or its contents (including any attachments) by persons other >than the intended recipient(s) is strictly prohibited. If you have received >this message in error, please notify us immediately by reply email so that we >may correct our internal records. Please then delete the original message >(including any attachments) in its entirety. Thank you. > > >_______________________________________________ >Mpls-pm mailing list >Mpls-pm at pm.org >http://mail.pm.org/mailman/listinfo/mpls-pm > > -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane at aptest.com From autarch at urth.org Thu Aug 11 09:48:27 2005 From: autarch at urth.org (Dave Rolsky) Date: Thu, 11 Aug 2005 11:48:27 -0500 (CDT) Subject: [Mpls-pm] Meeting tonight In-Reply-To: <42FB5439.9020605@aptest.com> References: <42FB5439.9020605@aptest.com> Message-ID: On Thu, 11 Aug 2005, Shane McCarron wrote: > In what possible world is cheeseless pizza considered food? That'd be the real world, not the strange little fantasy world _you_ live in ;) Actually, cheeseless pizza can range from blah to good, depending on a lot of other things. For example, at Punch it's damn good, cause their sauce & crust are fantastic. At Spokes & Luce they have lots of non-dairy cheese-like things (made of various strange brews) which are good too. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From autarch at urth.org Thu Aug 11 22:03:55 2005 From: autarch at urth.org (Dave Rolsky) Date: Fri, 12 Aug 2005 00:03:55 -0500 (CDT) Subject: [Mpls-pm] Pick a talk topic Message-ID: Your choices are ... 1. Intro to Mason 2. Perl DateTime Project 3. Exception Handling, Logging, and Validation I think I've done #1 and #3 before. #2 includes some of the material from my long date & time in Perl talk, but focuses entirely on the Perl DateTime project modules. They run about 45-60 minutes. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From andy at petdance.com Thu Aug 11 22:20:03 2005 From: andy at petdance.com (Andy Lester) Date: Fri, 12 Aug 2005 00:20:03 -0500 Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: <93B9B281-6AFE-4E56-98C2-B304F284C2B7@petdance.com> > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation I love that you do it like we do it sometimes: One guy has his pet projects that he can talk about, and so floats the balloon to see which of them is most palatable this month. :-) If I were coming up, I'd be most interested in them in the reverse order you've listed. But I'm not, so never mind me. :-) xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From sieglerc at comcast.net Thu Aug 11 23:18:03 2005 From: sieglerc at comcast.net (Chris Siegler) Date: Fri, 12 Aug 2005 01:18:03 -0500 Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: <42FC3F1B.7070504@comcast.net> Dave Rolsky wrote: > Your choices are ... > > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation > > I think I've done #1 and #3 before. #2 includes some of the material from > my long date & time in Perl talk, but focuses entirely on the Perl > DateTime project modules. > The DateTime talk was very good. You did give it before though, I think just before you first gave it at YAPC (2 years ago?) I vote for #3, although I'll show up regardless to eat free pizza (with cheese!) From autarch at urth.org Thu Aug 11 23:19:29 2005 From: autarch at urth.org (Dave Rolsky) Date: Fri, 12 Aug 2005 01:19:29 -0500 (CDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: <42FC3F1B.7070504@comcast.net> References: <42FC3F1B.7070504@comcast.net> Message-ID: On Fri, 12 Aug 2005, Chris Siegler wrote: >> I think I've done #1 and #3 before. #2 includes some of the material from >> my long date & time in Perl talk, but focuses entirely on the Perl >> DateTime project modules. >> > The DateTime talk was very good. You did give it before though, I think > just before you first gave it at YAPC (2 years ago?) This is a different datetime talk, though. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From ian at indecorous.com Fri Aug 12 07:20:51 2005 From: ian at indecorous.com (Ian Malpass) Date: Fri, 12 Aug 2005 15:20:51 +0100 (BST) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: On Fri, 12 Aug 2005, Dave Rolsky wrote: > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation For preference: 3, 1, 2. Ian - --------------------------------------------------------------------------- The soul would have no rainbows if the eyes held no tears. Ian Malpass From ringert at consumption.net Fri Aug 12 08:05:34 2005 From: ringert at consumption.net (Torleiv Flatebo Ringer) Date: Fri, 12 Aug 2005 08:05:34 -0700 (PDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: I would love to hear the DatTime talk. what you said > Your choices are ... > > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation > > I think I've done #1 and #3 before. #2 includes some of the material from > my long date & time in Perl talk, but focuses entirely on the Perl > DateTime project modules. > > They run about 45-60 minutes. > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm > -- As fast as it ever got, it never got fast enough for me. Hunter S. Thompson From shamu112 at yahoo.com Fri Aug 12 10:35:36 2005 From: shamu112 at yahoo.com (shamu112@yahoo.com) Date: Fri, 12 Aug 2005 12:35:36 -0500 Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: <20050812173536.GA8558@shamu.hsd1.mn.comcast.net> > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation I second Andy's choice...3,2,1 contact! What's new with the DateTime prez? -Mark From ian at indecorous.com Fri Aug 12 10:42:57 2005 From: ian at indecorous.com (Ian Malpass) Date: Fri, 12 Aug 2005 18:42:57 +0100 (BST) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: On Fri, 12 Aug 2005, Dave Rolsky wrote: > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation Do you have slides/notes that work stand-alone for these that those unable to attend, or keen to get a taste of one of the talks that won't get done (or done until later)? Ian - --------------------------------------------------------------------------- The soul would have no rainbows if the eyes held no tears. Ian Malpass From twincitiespm at toiletmonster.org Fri Aug 12 11:01:49 2005 From: twincitiespm at toiletmonster.org (twincitiespm@toiletmonster.org) Date: Fri, 12 Aug 2005 13:01:49 -0500 Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: Message-ID: <1123869709.21853.240571298@webmail.messagingengine.com> i vote for 1, 3, 2. but i'm interested in all 3. maybe you could give them all sometime? On Fri, 12 Aug 2005 00:03:55 -0500 (CDT), "Dave Rolsky" said: > Your choices are ... > > 1. Intro to Mason > 2. Perl DateTime Project > 3. Exception Handling, Logging, and Validation > > I think I've done #1 and #3 before. #2 includes some of the material > from > my long date & time in Perl talk, but focuses entirely on the Perl > DateTime project modules. > > They run about 45-60 minutes. > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm From autarch at urth.org Fri Aug 12 20:58:21 2005 From: autarch at urth.org (Dave Rolsky) Date: Fri, 12 Aug 2005 22:58:21 -0500 (CDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: <1123869709.21853.240571298@webmail.messagingengine.com> References: <1123869709.21853.240571298@webmail.messagingengine.com> Message-ID: On Fri, 12 Aug 2005 twincitiespm at toiletmonster.org wrote: > i vote for 1, 3, 2. but i'm interested in all 3. maybe you could give > them all sometime? I can if there's interest. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From ande2460 at umn.edu Mon Aug 15 13:46:56 2005 From: ande2460 at umn.edu (Christopher Sean Anderson) Date: Mon, 15 Aug 2005 15:46:56 CDT Subject: [Mpls-pm] Pick a talk topic Message-ID: <200508152046.j7FKkuuN018429@turbo.software.umn.edu> Hey Dave, Several of my colleagues (who are interested in joining Mpls-pm in Sep.) and I would very much like to hear one of your excellent talks...especially the 'DateTime' talk since it will be relevant to one of our upcoming projects... Just so I can pass on the correct info, is there now a definite When and Where the talk will take place? sorry guys if i missed the info in one of the emails... thanks, -csa -------------------------------- Christopher "Sean" Anderson University of Minnesota ande2460 at umn.edu From jira0004 at yahoo.com Mon Aug 15 14:32:31 2005 From: jira0004 at yahoo.com (jira0004) Date: Mon, 15 Aug 2005 14:32:31 -0700 (PDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: <200508152046.j7FKkuuN018429@turbo.software.umn.edu> Message-ID: <20050815213231.99748.qmail@web50407.mail.yahoo.com> I am new to Minneapolis-PM, however, I agree with the given suggestion for a talk on DateTime in Perl. I have used Perl extensively and have often had to work with the issue of date time values, so getting some additional input in efficient and accurate ways to work with date time values in Perl would be great. Please send the when and where to the list as I will definitely attend. Thanks much, Sincerely, Peter Jirak --- Christopher Sean Anderson wrote: > Hey Dave, > > Several of my colleagues (who are interested in > joining Mpls-pm in Sep.) > and I would very much like to hear one of your > excellent talks...especially > the 'DateTime' talk since it will be relevant to one > of our upcoming > projects... > > Just so I can pass on the correct info, is there now > a definite When and > Where the talk will take place? > > sorry guys if i missed the info in one of the > emails... > > thanks, > > -csa > > -------------------------------- > Christopher "Sean" Anderson > University of Minnesota > ande2460 at umn.edu > > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm > From Paul.Krcma at wellsfargo.com Wed Aug 17 11:18:27 2005 From: Paul.Krcma at wellsfargo.com (Paul.Krcma@wellsfargo.com) Date: Wed, 17 Aug 2005 13:18:27 -0500 Subject: [Mpls-pm] Perl Socket programming problem with Windows Message-ID: <62A241694AF10942B423AB112D4588E04AE4ED@msgswbiadsm01.wellsfargo.com> 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. Here's my Server code: use IO::Socket qw(:DEFAULT :crlf); #use IO::Socket; #use IO::Socket::INET; use IO::Handle; use IO::Select; use POSIX; use Socket; use Fcntl; use Tie::RefHash; use Net::Socket::NonBlock; local($/) = LF; # Setup global variables $ViewServer = "M:\\paul.krcma_csm_test\\PaulsTest\\release1"; #$ServerName = 'EPWS3001'; $ServerName = 'RCSLMN10L3CNMW6'; $port_num = '8003'; $ReqId = "1000"; $client = ""; # Create socket object $server = IO::Socket::INET->new('LocalPort' => $port_num, 'Proto' => 'tcp', 'Type' => SOCK_STREAM, 'Block' => 0, 'Listen' => 16, 'Reuse' => 1) or die "Can't create socket ($!)\n"; %inbuffer = (); %outbuffer = (); %ready = (); tie %ready, 'Tie::RefHash'; #nonblock($server); # Create a new IO::Socket Object $select = IO::Select->new; $select->add($server); #my $select->add($socket); # Add a Listener to the IO::Socket object print "Server listening\n"; # Wait for incoming requests, and open new sockets when needed while (1) { $client; $rv; $data; $sn; foreach $client ($select->can_read()) { print "Creating TCPSocketListener\n"; print "Checking for client = server\n"; if($client == $server) { #my $new; # Level 1 If # Create a new socket and add the handles to the Select object $client = $server->accept(); $select->add($client); $client->autoflush(1); $client->blocking(false); $ClientName = gethostbyaddr($client->peeraddr, AF_INET); #print "data is $rv{$client}\n"; #print "New Socket opened\n"; #print "Generating RequestId and sending Challenge to back to Core\n"; $buffer = ''; $rv = recv($client, $buffer, 1024,0); ########### This line causes the Client to hang ###################### &Generate_ReqId($ReqId); #print "Req ID = $ReqId\n"; print "Reading data\n"; #$sn = $client->send($ReqId); #while(<$client>) { # chop $_; # $data = $_; #} print "Data received is $data\n"; #$SendPack = $ReqId."|1000\015\012"; #$sn = $client->send($SendPack); #$client "$ReqId|1000"; #print "Inside level 1 if\n"; #print "Authorizing user\n"; #print $new "$ReqId|0|"; print "Leaving the client-server loop\n"; } else { # Fork the incoming connection from the parent print "A separate connection\n"; print "Packet is $packet\n"; #&process_connection; $data = ''; $rv = $client->recv($data, POSIX::BUFSIZ, 0); unless (defined($rv) && length $data) { # Client disconnected so do some cleanup print "Going to delete the buffers\n"; print $client "OK"; delete $inbuffer{$client}; delete $outbuffer{$client}; delete $ready{$client}; $select->remove($client); close $client; next; } $inbuffer{$client} .= $data; #print " Existing Connection\n"; #print "Received Authentication string from Core\n"; #print $rv{$client}; #print "Sending Authentication approval back to Core\n"; #print $client "$ReqId|0|"; #&process_connection; while ($inbuffer{$client} =~ s/(.*\n)//) { print "building array of requests\n"; push( @{$ready{$client}}, $1 ); } } print "Outside If\n"; } # Any complete requests to process ? foreach $client (keys %ready) { print "Handling a request\n"; handle($client); } # Buffers to flush ? foreach $client ($select->can_write(1)) { print "Flushing the buffers\n"; #next unless exists $outbuffer{$client}; print "Sending information to the outbuffer\n"; $rv = $client->send($outbuffer{$client}, 0); unless (defined $rv) { warn "I can't write\n"; next; } print "Reading the length of the outbuffer\n"; if ($rv == length $outbuffer{$client} || $! == POSIX::EWOULDBLOCK) { print "Doing some stuff with the outbuffer\n"; substr($outbuffer{$client}, 0 , $rv) = ''; delete $outbuffer{$client} unless length $outbuffer{$client}; } else { print "Cleaning up the flush buffers\n"; delete $inbuffer{$client}; delete $outbuffer{$client}; delete $read{$client}; select->remove($client); close($client); next; } print "Leaving Flush Buffers\n"; #$select->remove($client); #close $client; } print "Leaving the Listener\n"; #close $client or die "Can't close ($!)\n"; } die "Can't accept socket ($!)\n"; sub Generate_ReqId($Rid) { $ReqId++; return $ReqId; } sub handle { my $client = shift; print "Inside the Handle sub $client\n"; my $request; foreach $request (@{$ready{$client}}) { print "Inside the request for loop $request\n"; # put the text of reply into the $outbuffer{$client} $outbuffer{$client} .= $request; $packet = $outbuffer{$client}; print "Packet is $outbuffer{$client}\n"; } delete $ready{$client}; } sub process_connection { print "Inside process_connection\n"; #print $client "$.: $_"; $CoreReqId = ""; $ReqType = ""; $CNNum = ""; $ProjId = ""; $CdPack = ""; $CdPackLoc = ""; #my $ClientName = gethostbyaddr($socket->peeraddr, AF_INET); #my $port = $socket->peerport; #print "[$ClientName $port]\n"; # Once a client has been accepted, print out the client information and the packet it sent while (<$client>) { $packetname = $_; print "Packet is $_\n"; #print "[$ClientName $port] $_"; #print $client "$.: $_"; # Parse the packet # NOTE: Don't chop the packet. The return character needs to remain imbedded in # the packet to return back to the client ($CoreRegId,$ReqType,$CNNum,$ProjId,$CdPack,$CdPackLoc) = split(/\|/,$packetname); print "$CoreReqId, $ReqType $CNNum $ProjId $CdPack $CdPackLoc\n"; # Chop the last entry of the split string and join the CdPackLoc with CdPack chop $CdPackLoc; $NewElement = $CdPackLoc.$CdPack; #$EndTime = `echo %time%`; #print "End Time = $EndTime\n"; $select->remove($client); $client->close; } } 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/mpls-pm/attachments/20050817/ee9f3bc5/attachment-0001.html From shamu112 at yahoo.com Wed Aug 17 12:08:36 2005 From: shamu112 at yahoo.com (shamu112@yahoo.com) Date: Wed, 17 Aug 2005 14:08:36 -0500 Subject: [Mpls-pm] Perl Socket programming problem with Windows In-Reply-To: <62A241694AF10942B423AB112D4588E04AE4ED@msgswbiadsm01.wellsfargo.com> References: <62A241694AF10942B423AB112D4588E04AE4ED@msgswbiadsm01.wellsfargo.com> Message-ID: <20050817190836.GA2343@shamu.hsd1.mn.comcast.net> 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 > From ian at indecorous.com Wed Aug 17 14:36:46 2005 From: ian at indecorous.com (Ian Malpass) Date: Wed, 17 Aug 2005 22:36:46 +0100 (BST) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: <93B9B281-6AFE-4E56-98C2-B304F284C2B7@petdance.com> References: <93B9B281-6AFE-4E56-98C2-B304F284C2B7@petdance.com> Message-ID: On Fri, 12 Aug 2005, Andy Lester wrote: >> 1. Intro to Mason >> 2. Perl DateTime Project >> 3. Exception Handling, Logging, and Validation > > I love that you do it like we do it sometimes: One guy has his pet > projects that he can talk about, and so floats the balloon to see > which of them is most palatable this month. :-) Another take on it is to have a set of "Lightning Talks", which are five minute talks on some topic or other. It's a good way to get into the idea of talking about your perl work (or play) without the scariness of having to do a full-blown talk. I could do one on RSS, if I actually get the project I'm working on moving again. Anyone else? Ian - --------------------------------------------------------------------------- The soul would have no rainbows if the eyes held no tears. Ian Malpass From autarch at urth.org Wed Aug 17 14:39:14 2005 From: autarch at urth.org (Dave Rolsky) Date: Wed, 17 Aug 2005 16:39:14 -0500 (CDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: <93B9B281-6AFE-4E56-98C2-B304F284C2B7@petdance.com> Message-ID: On Wed, 17 Aug 2005, Ian Malpass wrote: > Another take on it is to have a set of "Lightning Talks", which are five > minute talks on some topic or other. It's a good way to get into the idea > of talking about your perl work (or play) without the scariness of having > to do a full-blown talk. > > I could do one on RSS, if I actually get the project I'm working on moving > again. Anyone else? I'd love for us to do lightning talks. I can probably come up with one or two myself. If there's interest we can schedule it for October. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From gypsy at freeq.com Wed Aug 17 14:44:50 2005 From: gypsy at freeq.com (Gypsy Rogers) Date: 17 Aug 2005 21:44:50 -0000 Subject: [Mpls-pm] Pick a talk topic In-Reply-To: <> References: <> Message-ID: <20050817214450.39801.qmail@ll.gypsy.org> I'd actually show up for a talk on RSS, or Perl w/AJAX It's been a couple years since I've been to a Perlmongers meeting though so someone would have to give me directions. ;) On Wed, 17 Aug 2005 22:36:46 +0100 (BST), Ian Malpass wrote : > On Fri, 12 Aug 2005, Andy Lester wrote: > > >> 1. Intro to Mason > >> 2. Perl DateTime Project > >> 3. Exception Handling, Logging, and Validation > > > > I love that you do it like we do it sometimes: One guy has his pet > > projects that he can talk about, and so floats the balloon to see > > which of them is most palatable this month. :-) > > Another take on it is to have a set of "Lightning Talks", which are five > minute talks on some topic or other. It's a good way to get into the idea > of talking about your perl work (or play) without the scariness of having > to do a full-blown talk. > > I could do one on RSS, if I actually get the project I'm working on moving > again. Anyone else? > > Ian > > - > --------------------------------------------------------------------------- > > The soul would have no rainbows if the eyes held no tears. > > Ian Malpass > > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm > > > From Paul.Krcma at wellsfargo.com Wed Aug 17 15:20:00 2005 From: Paul.Krcma at wellsfargo.com (Paul.Krcma@wellsfargo.com) Date: Wed, 17 Aug 2005 17:20:00 -0500 Subject: [Mpls-pm] Perl Socket programming problem with Windows Message-ID: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> 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 From ringert at consumption.net Wed Aug 17 15:39:06 2005 From: ringert at consumption.net (Torleiv Flatebo Ringer) Date: Wed, 17 Aug 2005 15:39:06 -0700 (PDT) Subject: [Mpls-pm] Perl Socket programming problem with Windows In-Reply-To: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> References: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> Message-ID: 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 From autarch at urth.org Wed Aug 17 19:46:27 2005 From: autarch at urth.org (Dave Rolsky) Date: Wed, 17 Aug 2005 21:46:27 -0500 (CDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: <20050817214450.39801.qmail@ll.gypsy.org> References: <> <20050817214450.39801.qmail@ll.gypsy.org> Message-ID: On Wed, 17 Aug 2005, Gypsy Rogers wrote: > I'd actually show up for a talk on RSS, or Perl w/AJAX I can give a lightning talk on the JS/AJAX/Mason stuff I've done for vegguide.org -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From ttausend at gmail.com Wed Aug 17 20:44:27 2005 From: ttausend at gmail.com (Troy E. Hove Tausend) Date: Wed, 17 Aug 2005 22:44:27 -0500 Subject: [Mpls-pm] Perl Socket programming problem with Windows In-Reply-To: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> References: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> Message-ID: <200508172244.28249.ttausend@gmail.com> I agree, you should have gotten a better worded response, but I suspect part of the reason you got the response you did is precisely because most of the people on this list are serious Perl programmers who know the language, modules and reference documentation very well and I'm afraid that it is quite apparent from your program sample that you have a lot to learn yet about programming in Perl. You are on the right track trying to use non-blocking recv(), but honestly this is the kind of thing were there is hundreds of cases of examples and working modules that can do this for you and have already addressed all the icky details that you probably haven't even really though about yet. You might try using perldoc to read perlipc as suggested by the first response. I'd also recommend looking in the Perl CookBook, Learning Perl and Programming Perl books from O'Reilly. You also may want to look at Perl modules like Net::Server (available from CPAN : http://search.cpan.org/search?query=Net+Server&mode=all ) which will provide you with a working Networking Server leaving you free to focus on doing what you really need to do which is work out your protocol. Next time you post a question to a User Group list, you might try reading the following first and following the advice given, it will help you get the answer you want. How To Ask Questions The Smart Way (http://www.catb.org/~esr/faqs/smart-questions.html) Good luck with your program. On Wednesday 17 August 2005 05:20 pm, Paul.Krcma at wellsfargo.com wrote: > 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. > From ian at indecorous.com Thu Aug 18 10:56:18 2005 From: ian at indecorous.com (Ian Malpass) Date: Thu, 18 Aug 2005 18:56:18 +0100 (BST) Subject: [Mpls-pm] Perl Socket programming problem with Windows In-Reply-To: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> References: <62A241694AF10942B423AB112D4588E04A2EDF@msgswbiadsm01.wellsfargo.com> Message-ID: On Wed, 17 Aug 2005 Paul.Krcma at wellsfargo.com wrote: > You know what? I gave up on user group email lists along time ago, > because of replies like your's. Why? So Mark's reply wasn't overly helpful. Troy chipped in later with more concrete help (Net::Server and other CPAN goodness being excellent suggestions for saving youself the hassle of reinventing the wheel). > And here I was, thinking this email group would be professional. "Professional" as in "sending a rather stroppy response to a post on a publicly archived mailing list using your corporate email address professional"? But aside from that, "Minneapolis Perl Mongers is a user group for anyone interested in the Perl programming language"[0]. No-one ever said anything about professional. You'll get some helpful responses, and some less helpful ones. When asking for free help, you run the risk of getting what you paid for. Frustrating, I know, especially when mired in complex debugging. You did post a lot of code, which is rather too much to take in without a lot of effort. Perhaps if you cut it down to a smaller test case it might be easier for people to grasp and debug. Help us to help you, etc. > I just subscribed to this group. It's time to unsubscribe. Perhaps. You came, you asked a question, you got an answer you didn't like. Feel free to throw your toys out of your stroller. Or you could stay and contribute and help make the group better. Everyone has their off days, and it would be a shame to lose a local perlmonger because of one post. We reserve the right to reference Monty Python sometimes though. Ian [0] - --------------------------------------------------------------------------- The soul would have no rainbows if the eyes held no tears. Ian Malpass From ken at mathforum.org Tue Aug 23 18:04:14 2005 From: ken at mathforum.org (Ken Williams) Date: Tue, 23 Aug 2005 20:04:14 -0500 Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: <> <20050817214450.39801.qmail@ll.gypsy.org> Message-ID: On Aug 17, 2005, at 9:46 PM, Dave Rolsky wrote: > On Wed, 17 Aug 2005, Gypsy Rogers wrote: > >> I'd actually show up for a talk on RSS, or Perl w/AJAX > > I can give a lightning talk on the JS/AJAX/Mason stuff I've done for > vegguide.org That would be cool. So is this for Sep. 7th or 14th? I'd better get it on my calendar now, unfortunately, or else I'll never make it. -Ken From autarch at urth.org Tue Aug 23 21:45:45 2005 From: autarch at urth.org (Dave Rolsky) Date: Tue, 23 Aug 2005 23:45:45 -0500 (CDT) Subject: [Mpls-pm] Pick a talk topic In-Reply-To: References: <> <20050817214450.39801.qmail@ll.gypsy.org> Message-ID: On Tue, 23 Aug 2005, Ken Williams wrote: >>> I'd actually show up for a talk on RSS, or Perl w/AJAX >> >> I can give a lightning talk on the JS/AJAX/Mason stuff I've done for >> vegguide.org > > That would be cool. > > So is this for Sep. 7th or 14th? I'd better get it on my calendar now, > unfortunately, or else I'll never make it. I'm speaking on the 14th, but I was suggesting we do the lightning talks in October. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/