<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">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 href="mailto: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"><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 class="HOEnZb"><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 href="mailto:erlang-questions@erlang.org">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>