TAILIEUCHUNG - Instant Messaging in Java phần 4

Jabber khai thác đơn giản của XML để làm cho nó dễ dàng hơn để viết phần mềm Jabber. XML cũng cho phép các giao thức Jabber để nhắm mục tiêu đa dạng hơn các nền tảng như các hệ thống nhúng. Linh hoạt-XML là một ngôn ngữ định dạng dữ liệu chung. | Testing the server 99 The server should start and print its banner Jabber Server - where is the port number it is using. By convention the port number for Jabber is 5222. To test the server open a console terminal window and type telnet hostname port where hostname ls the Internet domain name or network address of the computer the server is running on and f ort is the port number that the Jabber server reported in its startup banner. If youte running the server and telnet on a computer without a network you can as the host name . telnet 5222 without the quotes . Telnet will connect with the Jabber server and wait for you to type something. Type in the opening stream tag 17 18 stream stream from user@server resource to server The server will respond with its stream tag including a strearrlD. Now close the stream by typing stream stream The server will respond with its closing stream then close the connection. Telnet will exit and youll be back at the prompt. A typical session should look something like the following Telnet testing the server telnet 5222 Trying . Connected to . Escape character is A . Send stream stream Send from iain@ work Send Send xmlns jabber client Send xmlns stream http streams Recv stream stream Recv Recv to iain@ work Recv xmlns jabber client Recv xmlns stream http streams Recv id O Send stream stream Recv stream stream Connection closed by foreign host. 17 I include Linux and the BSDs like FreeBSD in the Unix category. 18 Our server does not check for the stream namespace attributermlns-httpj streams although it should. It is required by the Jabber protocols. The open source reference Jabber server rejects streams without this namespace. Testing the server 99 The server should start and print its banner Jabber Server - where is the port number it is using. By convention the port

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.