Toggle navigation
Toggle navigation
This project
Loading...
Sign in
조민지
/
2018_2_project
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
DESKTOP-PC6TBNS\강환석씨
2018-12-11 16:16:23 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
5ba609437d438e264aee6bd61029c3d4fafcc198
5ba60943
2 parents
948b9057
04199e6f
Merge branch
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
lib/socketio.js
views/index.ejs
lib/socketio.js
View file @
5ba6094
This diff is collapsed. Click to expand it.
views/index.ejs
View file @
5ba6094
...
...
@@ -38,6 +38,21 @@
></div>
</div>
</div>
<<<<<<
< HEAD
=======
<
script
src=
"/socket.io/socket.io.js"
></script>
<script>
var
socket
=
io
(
'http://localhost'
,{
transports
:
[
'websocket'
]});
socket
.
emit
(
"connection"
,()
=>
{
console
.
log
(
"connected"
);
});
socket
.
on
(
"weatherInfo_minutely_send_to_client"
,(
info
)
=>
{
//서버에서 client에게 메세지 전송
console
.
log
(
info
);
});
</script>
>>>>>>> last_socket_hotfix
<!-- 첫번째 그래프 -->
<script
type=
"text/javascript"
>
...
...
Please
register
or
login
to post a comment