about summary refs log tree commit diff stats
path: root/server-socket.mu
diff options
context:
space:
mode:
authorStephen Malina <stephenmalina@gmail.com>2016-09-25 10:42:15 -0400
committerStephen Malina <stephenmalina@gmail.com>2016-10-07 08:09:42 -0400
commitd7e48920f7faf092d972ea02fc02551ba1c5bb23 (patch)
treeff2e3a01983ae2be287d0183909f2e2a7bb2289a /server-socket.mu
parent4a70fb39cc6a0f2ebe34e9b58b873e13d8221015 (diff)
downloadmu-d7e48920f7faf092d972ea02fc02551ba1c5bb23.tar.gz
3458
Testable network interface and write flow.
Diffstat (limited to 'server-socket.mu')
-rw-r--r--server-socket.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-socket.mu b/server-socket.mu
index 3538b687..8a25da92 100644
--- a/server-socket.mu
+++ b/server-socket.mu
@@ -24,13 +24,13 @@ def main [
 Content-type: text/plain
 
 SUCCESS!
-]
+], contents
   $print 10/newline, [Wrote to and closing socket...], 10/newline
   $close-socket session
   $close-socket socket
 ]
 
-def write-to-socket session-socket:number, s:address:array:character [
+def write-to-socket session-socket:number, s:address:array:character, source:&:source:char [
   local-scope
   load-ingredients
   len:number <- length *s
2013-12-15 23:55:59 +0000 committer James Booth <boothj5@gmail.com> 2013-12-15 23:55:59 +0000 Added tests for "/account disable"' href='/danisanti/profani-tty/commit/tests/test_cmd_account.h?id=3c0bbed7178168d9be2cc6a6e120994ba2d0b96b'>3c0bbed7 ^
3c0bbed7 ^
e14b4ef5 ^


e14b4ef5 ^
52f6ad6f ^


52f6ad6f ^



9b41c4ee ^
8adca66f ^
3b2446c4 ^
f6da9444 ^


de06c40d ^
de06c40d ^
c20e38a4 ^


76e7a834 ^


ba66d6b7 ^

f47bd58a ^




7a63cf2e ^



6d6bc67d ^
122fe09c ^

122fe09c ^
f6da9444 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55