Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9731050
server
Commits
bb1c9258
Commit
bb1c9258
authored
Jun 03, 2019
by
9731050
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add main
parent
779e031c
Pipeline
#687
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Main.java
src/Main.java
+6
-0
Server.java
src/Server.java
+4
-0
No files found.
src/Main.java
0 → 100644
View file @
bb1c9258
public
class
Main
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
Server
server
=
new
Server
(
1234
);
}
}
src/Server.java
View file @
bb1c9258
...
@@ -15,6 +15,10 @@ public class Server {
...
@@ -15,6 +15,10 @@ public class Server {
serverSocket
.
setSoTimeout
(
1000
);
serverSocket
.
setSoTimeout
(
1000
);
}
}
public
Server
(
int
i
)
{
}
public
void
run
()
{
public
void
run
()
{
while
(
true
)
{
while
(
true
)
{
try
{
try
{
...
...
Write
Preview
Markdown
is supported
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