일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- html code
- border-box
- html multimedia
- html plug-in
- #성적관리프로그램
- html youtube
- html id
- #android activity
- #JAVASCRIPT
- docker example
- #2차원배열
- #C++ has~a
- mac terminal command
- html5 new tag
- html object
- 토큰경제
- #다차원포인터
- #자바상속#자바이즈어#is~a
- #1차원배열
- git flow
- html video
- hyperledger transaction
- html charset
- relative path
- #binary
- 하이퍼레저패브릭
- #3차원배열
- #C++ 연산자함수오버로딩
- #CallByAddress
- #bubbleSort
Archives
- Today
- Total
목록#MultiClients (1)
A sentimental robot
Multi Chatting
package Network; import java.util.*; import java.io.*; import java.net.*; public class Multi { HashMap client; Multi() { client = new HashMap(); Collections.synchronizedMap(client); // wrapping for concurrent access to the map } public static void main(String[] args) { new Multi().start(); } // main public void start() { ServerSocket serverSocket = null; Socket socket = null; try { serverSocket ..
Java
2018. 9. 7. 21:30