Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
sister-kering
IF3230-Tugas-Besar-Sister-2015
Commits
f674d6ce
Commit
f674d6ce
authored
Apr 21, 2015
by
Rakhmatullah Yoga Sutrisna
Browse files
clientHandler
parent
ae1696bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/GrandQuestServer/src/grandquestserver/GrandQuestServer.java
View file @
f674d6ce
...
...
@@ -7,6 +7,7 @@
package
grandquestserver
;
import
java.io.IOException
;
import
java.net.ServerSocket
;
import
java.sql.SQLException
;
/**
...
...
@@ -25,7 +26,8 @@ public class GrandQuestServer {
*/
public
static
void
main
(
String
[]
args
)
throws
IOException
,
SQLException
,
ClassNotFoundException
,
InstantiationException
,
IllegalAccessException
{
int
port
=
8000
;
Thread
t
=
new
Server
(
port
);
ServerSocket
serverSock
=
new
ServerSocket
(
port
);
Thread
t
=
new
ClientHandler
(
serverSock
);
t
.
start
();
//DBHandler database = new DBHandler();
//database.addInventory("ardi", 2);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment