일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 multimedia
- #JAVASCRIPT
- git flow
- #1차원배열
- html video
- html plug-in
- #성적관리프로그램
- html object
- mac terminal command
- #C++ 연산자함수오버로딩
- #C++ has~a
- #다차원포인터
- #2차원배열
- hyperledger transaction
- border-box
- docker example
- 하이퍼레저패브릭
- 토큰경제
- #bubbleSort
- html5 new tag
- #android activity
- #자바상속#자바이즈어#is~a
- html charset
- #CallByAddress
- relative path
- #3차원배열
- html code
- html id
- #binary
- html youtube
Archives
- Today
- Total
목록#JAVAchatting (1)
A sentimental robot
1:1 채팅
package Network; import java.io.*; import java.net.*; import java.util.Scanner; class Sender extends Thread { Socket socket; DataOutputStream out; String identifier; Sender(Socket socket, String id) { this.socket = socket; identifier = "[" + id + ":" + socket.getPort() + "] says:"; try { out = new DataOutputStream(socket.getOutputStream()); } catch (IOException e) { e.printStackTrace(); } } publ..
Java
2018. 9. 6. 19:35