• Lập trình mạng - Bài 4: Remote Procedure Call (RPC)Lập trình mạng - Bài 4: Remote Procedure Call (RPC)

    Kiến trúc CORBA: IDL • IDL (Interface Definition Language) • Xem như ngôn ngữ lập trình trung gian dùng chuẩn hóa các ngôn ngữ : C, C + +, Java, Ada, COBOL, Smalltalk, Objective C, LISP, Python • Kiểu dữ liệu : • Kiểu cơ bản : long, short, string, float, • Kiểu cấu trúc : struct, union, enum, sequence • Kiểu đối tượng tham chiếu • Các kiể...

    pdf21 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1836 | Lượt tải: 1

  • Antennas and Propagation…. - Lecture 16Antennas and Propagation…. - Lecture 16

    Q:- It has been studied that if a source of electromagnetic energy is placed at the focus of the paraboloid, and if the paraboloid is a reflecting surface, then the wave will bounce back in lines parallel to the axis of the paraboloid. To demonstrate this, consider the parabola y2= 2px shown in Figure. Let P(x1, y1 ) be a point on the parabola and ...

    ppt104 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1222 | Lượt tải: 1

  • Thao tác với tệpThao tác với tệp

    Bạn có thể tự làm tiếp 2.2. Cho chơi nhiều lần 2.3. Hoạt hình: giá treo cổ lắc lư sau khi thua, nếu thắng thì có một người đứng nhảy múa Đồ họa? Đợi khi học thư viện đồ họa

    pptx24 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1089 | Lượt tải: 2

  • Transmission fundamentals Review - Lecture 6Transmission fundamentals Review - Lecture 6

    Factors Effecting Channel Capacity The Factors Bandwidth Noise, Error rate affect channel capacity Bandwidth: The bandwidth of the transmitted signal as constrained by the transmitter and the nature of the transmission medium, expressed in cycles per second, or hertz Noise: The average level of noise over the communications path Error rate: ...

    pptx51 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1133 | Lượt tải: 1

  • Antennas and Propagation - Lecture 15Antennas and Propagation - Lecture 15

    Effective Radiated Power The effective radiated power (ERP or EIRP) is the gain of an antenna (with respect to an isotropic radiator) multiplied by its input power. ERP = input power x antenne gain For example, a highly directional antenna with a gain of 7 has an input power of 1-kW. Its ERP is therefore 7 kW. Summary Electric and Magnetic F...

    ppt44 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1095 | Lượt tải: 1

  • Lập trình vào/ra với luồng (streams)Lập trình vào/ra với luồng (streams)

    Lớp File không phục vụ cho việc nhập/xuất dữ liệu trên luồng. Lớp File thường được dùng để biết được các thông tin chi tiết về tập tin cũng như thư mục (tên, ngày giờ tạo, kích thước, ) java.lang.Object +--java.io.File Các Constructor: Tạo đối tượng File từ đường dẫn tuyệt đối public File(String pathname) ví dụ: File f = new File(“C:\\Jav...

    ppt56 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1544 | Lượt tải: 1

  • Cải tiến và tối ưu hóaCải tiến và tối ưu hóa

    Chống trôi màn hình Có thể in nhiều dòng trống trước khi vẽ giá treo cổ để đẩy hẳn hình ảnh của lần đoán trước ra khỏi màn hình và cố định giá treo cổ mới tại đáy màn hình Hiển thị các chữ cái đã đoán sai Thêm một biến string chứa các chữ cái đã đoán sai và cập nhật mỗi lần đoán sai, hiển thị mỗi lần chạy renderGame Chuẩn hóa chữ hoa chữ thường...

    pptx13 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1377 | Lượt tải: 1

  • Protocols and Protocol SuitReview - Lecture 14Protocols and Protocol SuitReview - Lecture 14

    TCP UDP Header Length Q:- Why does the TCP header have a header length field while the UDP header does not? Ans:- UDP has a fixed-sized header. The header in TCP is of variable length. Summary Network Layer Functionality Task performed @ Transport Layer Protocol and Protocol Stack Protocol Data Unit Protocol Architecture TCP/IP Stack Lay...

    ppt69 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1138 | Lượt tải: 1

  • Lập trình mạng - Bài 4: Lập trình WinSock nâng caoLập trình mạng - Bài 4: Lập trình WinSock nâng cao

    Raw Socket • Cho phép truyền dữ liệu ở mức dưới tầng giao vận • Thêm khóa registry HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servi ces\AFD\Parameters\DisableRawSecurity • Chạy chương trình với quyền Administrator • Khởi tạo: socket(s, SOCK_RAW, protocol) protocol: giao thức điều khiển truyền dữ liệu trên raw socket • IPPROTO_UDP, IPPROT...

    pdf20 trang | Chia sẻ: dntpro1256 | Ngày: 23/11/2020 | Lượt xem: 1270 | Lượt tải: 1

  • Wireless Transmission Media - Lecture 5Wireless Transmission Media - Lecture 5

    Time and frequency multiplex Combination of both methods A channel gets a certain frequency band for a certain amount of time Example: GSM Advantages better protection against tapping protection against frequency selective interference but: precise coordination required Code multiplex Each channel has a unique code All channels use the s...

    pptx41 trang | Chia sẻ: thucuc2301 | Ngày: 23/11/2020 | Lượt xem: 1081 | Lượt tải: 1