<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I've been seeing the examples of Racket to make a server, and although I learned a lot, I'd love to know how to actually launch it so, for example, a friend can see my page from his house.<BR><br><BR>For the best example, let's say i have the Hello World server, what changes do i need to make so someone can access it from a browser? can I use a webpage like <a href="www.hello.com?" target="_blank"><a href="www.hello.com?" target="_blank"><a href="www.hello.com?" target="_blank"><a href="www.hello.com" target="_blank">www.hello.com</a></a></a></a> ? Can I do it from my computer? <BR><br><BR>#lang web-server/insta<br><BR>;; A "hello world" web server<br>(define (start request)<br> (response/xexpr<br> '(html<br> (body "Hello World"))))<br><BR><br><BR>Also, to make something like this work between 2 different computers over the internet:<BR><br><BR>(define listener (tcp-listen 12345))<br>(let echo-server ()<br> (define-values (in out) (tcp-accept listener))<br> (thread (lambda () (copy-port in out)<br> (close-output-port out)))<br> (echo-server))<BR><br><BR>Would i need to write a client that connects to the servers IP and to the specified port?<BR><br><BR>Thanks in advance.<BR>                                            </div></body>
</html>