Fixed OSError + recvLine deprecation warnings.
This commit is contained in:
parent
3ff572ffcd
commit
a9f2c3ffaf
4 changed files with 143 additions and 144 deletions
|
|
@ -4,8 +4,8 @@ s = socket()
|
|||
|
||||
s.connect("www.google.com", TPort(80))
|
||||
|
||||
var recvData: string = ""
|
||||
echo(s.recvLine(recvData))
|
||||
echo(recvData)
|
||||
var data: string = ""
|
||||
s.readLine(data)
|
||||
echo(data)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue