Hello world/Web server: Difference between revisions

Content added Content deleted
No edit summary
Line 1,215: Line 1,215:


oTcpClient = oTcpServer.nextPendingConnection()
oTcpClient = oTcpServer.nextPendingConnection()
while not oTcpClient.waitForReadyRead(100) end
cOutput += "Accept Connection" + nl
cOutput += "Accept Connection" + nl
lineedit1.settext(cOutput)
lineedit1.settext(cOutput)
Line 1,224: Line 1,225:
}
}
</lang>
</lang>

=={{header|Ruby}}==
=={{header|Ruby}}==
Using the WEBrick module from Ruby's standard library.
Using the WEBrick module from Ruby's standard library.