Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design2
/
2016104137
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
김예미
2020-04-28 16:41:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e246b50eaa0341326703a62125f9148b051e6990
e246b50e
1 parent
385a82f6
add server test code
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
source/forensic_tool/src/server_test.js
source/forensic_tool/src/server_test.js
0 → 100644
View file @
e246b50
1
+
var
io
=
require
(
'socket.io'
).
listen
(
3000
);
2
+
3
+
io
.
on
(
'connection'
,
function
(
socket
){
4
+
console
.
log
(
'connect'
);
5
+
var
instanceId
=
socket
.
id
;
6
+
7
+
socket
.
on
(
'alert'
,
function
(
data
){
8
+
console
.
log
(
data
);
9
+
})
10
+
})
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment