소켓 프로그래밍(Socket Programming), 파일전송 프로그램, 데이터 통신
본 자료는 1페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
해당 자료는 1페이지 까지만 미리보기를 제공합니다.
1페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

소켓 프로그래밍(Socket Programming), 파일전송 프로그램, 데이터 통신에 대한 보고서 자료입니다.

목차

① 소스코드
 ㉠ 서버
 ㉡ 클라이언트
② 실행화면

본문내용

ctionListener()
{
public void actionPerformed(ActionEvent ae)
{
try
{
writer.writeUTF(sendBox.getText());
writer.flush();
String fileInfo = reader.readUTF();
msgView.setText("[filecli 127.0.0.1 1884] " + sendBox.getText() + "\n" + sendBox.getText() + " file is uploding...\n");
msgView.append(fileInfo);
sendBox.setText("");
}
catch(Exception ie)
{
}
}
});
pack();
}
private void connect()
{
try
{
socket = new Socket("127.0.0.1", 7777);
msgView.append("connected... file name?\n");
reader = new DataInputStream(socket.getInputStream());
writer = new DataOutputStream(socket.getOutputStream());
}
catch(Exception e)
{
msgView.append("Not connected...");
}
}
public static void main(String[] args)
{
Client client = new Client("파일 전송 프로그램");
client.setVisible(true);
client.connect();
}
}
② 실행화면
  • 가격1,800
  • 페이지수5페이지
  • 등록일2014.07.28
  • 저작시기2014.7
  • 파일형식한글(hwp)
  • 자료번호#930849
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니