<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><div><br></div><div>Ryan<br clear="all"><div><br></div>-- <br>-rb
</div></div>