Excellent. Thank you! I somehow missed that point.<div><br></div><div>Best,</div><div><br></div><div>Ryan<span></span><br><br>On Saturday, October 5, 2013, Wes James  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Actually you could set up an ecom.erl like setup and that is all you would need.  I pointed you to ecom.erl since that shows some message passing.<div><br></div><div>Much of the ideas for ecom.erl came from:</div>

<div><br></div><div><a href="http://www.erlang.org/doc/getting_started/conc_prog.html" target="_blank">http://www.erlang.org/doc/getting_started/conc_prog.html</a><br></div><div><br></div><div>-wes</div></div><div class="gmail_extra">
<br>
<br><div class="gmail_quote">On Sat, Oct 5, 2013 at 5:33 PM, Ryan Brown <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'ryankbrown@gmail.com');" target="_blank">ryankbrown@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Wes. This looks like this will do what I need and more. I like the use of cowboy but was honestly looking for a simple example of setting-up a listener without the use of cowboy. Mostly for my edification. <div><br>


</div><div>Best,</div><div><br></div><div>Ryan<div><div><br><br>On Friday, October 4, 2013, Wes James  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>
You can take a look at  this to see if it helps:<br><br><a href="https://github.com/comptekki/esysman/blob/master/src/ecom.erl" target="_blank">https://github.com/comptekki/esysman/blob/master/src/ecom.erl</a><br><br></div>



I can install this on windows/linux/mac workstations and then send commands to it from the esysman console.<br><br>-wes</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 2:26 PM, Ryan Brown <span dir="ltr"><<a>ryankbrown@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, this seems like it should be a very simple thing to do but I appear to be having trouble finding documentation on how to do it without incorporating external resources. I just want a simple module where I can generate load via https without using a webserver library like ibrowse to recieve the messages.<div>




<br></div><div>Essentially, I just need something like this:</div><div><br></div><div>start(port) -></div><div>    start_webserver_listening_on_port(port),</div><div>    receive_loop().</div><div><br></div><div>receive_loop() -></div>




<div>    whatever.</div><div><br></div><div>client(Msg_To_Send) -> </div><div>    send_msg_to_server_started_above(Msg_To_Send).</div><div><br></div><div>These can/maybe should be, different modules. That's fine. I just want to do this in pure erlang and cannot seem to get it worked-out from what I can find online. (Feeling dumb)</div>




<div><br></div><div>Thanks in advance!</div><span><font color="#888888"><div><br></div><div>Ryan<br clear="all"><div><br></div>-- <br>-rb
</div></font></span></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a>erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><span><font color="#888888"><br><br>-- <br>-rb<br>
</font></span></blockquote></div><br></div>
</blockquote></div><br><br>-- <br>-rb<br>