mirror of
https://github.com/php-win-ext/phpy.git
synced 2026-03-24 17:02:15 +01:00
11 lines
207 B
Python
11 lines
207 B
Python
from php import std
|
|
import phpy
|
|
|
|
errno = phpy.Reference()
|
|
errstr = phpy.Reference()
|
|
rs = std.stream_socket_client('tcp://127.0.0.1:9999', errno, errstr, 30)
|
|
|
|
print(errno.get())
|
|
print(errstr.get())
|
|
print(rs)
|