comparison webserver.rhope @ 148:f582fd6c75ee

Fixed framework port, works for said.rhope example
author Mike Pavone <pavone@retrodev.com>
date Mon, 22 Nov 2010 01:37:05 -0500
parents f3686f60985d
children 804e48af1027
comparison
equal deleted inserted replaced
147:f3686f60985d 148:f582fd6c75ee
160 160
161 } 161 }
162 162
163 Connection Start[con,address,handlers] 163 Connection Start[con,address,handlers]
164 { 164 {
165 Print["New connection!"]
166 ,client <- [con]Read Delim[["\r\n"]Buffer >>] 165 ,client <- [con]Read Delim[["\r\n"]Buffer >>]
167 { request <- String[~] } 166 { request <- String[~] }
168 parts <- [request]Split[" "] 167 parts <- [request]Split[" "]
169 Print[[[request]Append[" "]]Append[address]] 168 Print[[[request]Append[" "]]Append[address]]
170 [client]Read Delim[["\r\n\r\n"]Buffer >>] 169 [client]Read Delim[["\r\n\r\n"]Buffer >>]