next steps for 'compiler as a service'
This commit is contained in:
parent
c2b8669e04
commit
cc51581937
4 changed files with 24 additions and 22 deletions
|
|
@ -64,8 +64,8 @@ proc serve*(action: proc (){.nimcall.}) =
|
|||
var inp = "".TaintedString
|
||||
server.listen()
|
||||
while true:
|
||||
var client = InvalidSocket
|
||||
accept(server, client)
|
||||
discard client.recvLine(inp)
|
||||
accept(server, stdoutSocket)
|
||||
discard stdoutSocket.recvLine(inp)
|
||||
processCmdLine(passCmd2, inp.string)
|
||||
action()
|
||||
stdoutSocket.send("\c\L")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue