Coder Social home page Coder Social logo

ltm's Introduction

Source code ôn tập môn lập trình mạng thầy Hùng

  1. TCP: Đề bài bài 1: gửi code là msv;1 lên server, nhận về một chuỗi thực hiện đảo ngược chuỗi đó và gửi kết quả trả về cho server Đề bài bài 2, 3: gửi code là mã sinh viên lên server, nhận về một chuỗi gốm 2 số cách nhau bằng dấu phẩy có định dạng a,b, thực hiện tính tổng và gửi kết quả lên server

    • b1: DataStream
    • b2: CharacterStream
    • b3: ByteStream
    • b4: ObjectStream
      • Tạo một lớp có tên là student với các thuộc tính:
        • id String,code String, name String, email String
      • Hàm khởi tạo:
        • public Student(String id, String code, String name, String email)
        • public Student(String code)
      • Trường dữ liệu: private static final long serialVersionUID = 20161107
      1. Gửi thông điệp là một đối tượng của lớp student với thông tin duy nhất được thiết lập là code bằng mã sinh viên của bạn
      2. Nhận một đối tượng là thể hiện của lớp Student từ server với các thông tin được thiết lập là id, code, name
      3. Thực hiện: -- Chuẩn hóa tên theo nguyên tắc: Chữ cái đầu tiên in hoa, các chữ cái còn lại in thường -- Tạo email ptit.edu.vn từ tên người dùng bằng cách lấy tên và các chữ cái bắt đầu của họ và tên đệm. Ví dụ: nguyen van tuan nam -> [email protected]
  2. UDP: Đề bài tương tự phần TCP

    • b1: DataStream
    • b2, b3: tương tự b1
    • b4: ObjectStream
  3. RMI:

    • Đề bài RMI
  4. WebService

    • Đề bài WebService

Continue update.......

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.