-
UID:139548
-
- 注册时间2012-12-20
- 最后登录2022-08-28
- 在线时间189小时
-
- 发帖192
- 搜Ta的帖子
- 精华0
- 金钱2120
- 威望222
- 贡献值4
- 好评度212
-
访问TA的空间加好友用道具
|
—
本帖被 20091001753 从 Qt QML开发 移动到本区(2019-09-30)
—
https://github.com/jemc/qml-sockets- import Sockets 1.0
- TCPSocket {
- host: "www.the-world.com"
- port: 1025
- Component.onCompleted: connect()
- onConnected: write("Hello, World!")
- onRead: console.log("The World says:", message)
- onDisconnected: console.log("Goodbye, Cruel World...")
- }
|