This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_extPart_001_01C38210.27E1E870
Content-Type: text/plain

Hi all,

Ruby 1.6.8 and 1.8.0
Windows XP Pro
exerb 2.6.7

Just playing around with exerb.  I'm aware that there were some socket
issues, so I tried making this into an exe:

# first test
require "socket"
puts "HELLO"

That seemed to work ok.

Then I tried this example, shamelessly stolen from "The Ruby Way", p. 422:

# exetest.rb
require "socket"
PORT  2321

server  CPServer.new(PORT)

while session  erver.accept
   Thread.new(session) do |my_session|
      my_session.puts Time.new
      my_session.close
   end
end

However, when I tried to build and rbc file, it just hangs:

C:\test>ruby -r exerb/mkrbc exetest.rb -> hangs indefinitely

Any ideas?

Regards,

Dan

------_extPart_001_01C38210.27E1E870
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>exerb and a threaded server</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Ruby 1.6.8 and 1.8.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">Windows XP Pro</FONT>
<BR><FONT SIZE=2 FACE="Arial">exerb 2.6.7</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Just playing around with exerb.&nbsp; I'm aware that there were some socket issues, so I tried making this into an exe:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># first test</FONT>
<BR><FONT SIZE=2 FACE="Arial">require &quot;socket&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">puts &quot;HELLO&quot;</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">That seemed to work ok.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Then I tried this example, shamelessly stolen from &quot;The Ruby Way&quot;, p. 422:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial"># exetest.rb</FONT>
<BR><FONT SIZE=2 FACE="Arial">require &quot;socket&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">PORT = 12321</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">server = TCPServer.new(PORT)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">while session = server.accept</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp; Thread.new(session) do |my_session|</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_session.puts Time.new</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_session.close</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp; end</FONT>
<BR><FONT SIZE=2 FACE="Arial">end</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">However, when I tried to build and rbc file, it just hangs:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">C:\test&gt;ruby -r exerb/mkrbc exetest.rb -&gt; hangs indefinitely</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any ideas?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Dan</FONT>
</P>

</BODY>
</HTML>
------_extPart_001_01C38210.27E1E870--