Update samples/General/TimeServer/time_client.ring - Better Code
@@ -29,8 +29,6 @@ sock = socket(AF_INET, SOCK_STREAM)
connect(sock, "127.0.0.1", 5051)
? "Enter 'time' to get the time or anything else to exit."
-func main
-{
while True
{
switch getstring()
@@ -45,4 +43,3 @@ func main
exit
}
}
-}
