Skip to content

Commit ec8a178

Browse files
author
lidi3
committed
linux
1 parent 254ea02 commit ec8a178

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# hello socket For PHP
22

3+
34
## 1、修改 web.html 文件中的host
4-
```html
5+
```js
56
//TODO 将 127.0.0.1 替换为服务的真实 Host, 即可
67
let host = '127.0.0.1';
78
```
89

10+
911
## 2、修改 index.php 文件中的host
1012
```php
1113
//TODO 将 127.0.0.1 替换为服务的真实 Host, 即可
1214
$host = '127.0.0.1';
1315
```
1416

17+
1518
## 3、启动服务:访问 host + 8088 即可
1619
```php
1720
1、启动服务端:php SocketService.php

0 commit comments

Comments
 (0)