TAILIEUCHUNG - Linux Socket Programming by Example PHẦN 10

và con trỏ khẩn cấp tương ứng của nó là nhận được mà không có bất kỳ dữ liệu tương ứng khẩn cấp để được đọc. Nếu con trỏ khẩn cấp xảy ra để được vào cuối của byte dữ liệu cuối cùng bao gồm trong gói tin, sau đó có thể không có bất kỳ byte sau đây nhận được. Byte dữ liệu khẩn cấp có thể theo một gói tin tiếp theo. | Trying . Connected to . Escape character is . GET d q uotes. csv s RHAT f sl Idltlc 1ohgv e .csv RHAT 11 24 1999 4 00PM 0 306170 0 Connection closed by foreign host. The GET command is issued after you are connected along with the strange-looking pathname and a press of the Enter key you might need to press Enter twice . If you are successful you get one line of spreadsheet data in return Substituting another symbol for RHAT will yield different data. If you are not having any luck then check your punctuation and spelling. Accuracy is vital here. Use cut and paste from the screen if possible. If this doesn t help then you ll need to research how http is doing it presently you might even need to start at the http home page . Follow the steps outlined previously so that you ll be able to find out the new hostname and pathname required. This is a summary of the quote fetch procedure 1. Connect to http on port 80 this hostname might change at a future date . 2. Issue the GET request with the magic pathname shown the word GET should be uppercase . 3. A line of spreadsheet format data is returned on the same socket as a response. 4. The socket is closed. That is all there is to it Remember these steps when you examine the source code listings later. The following sections will illustrate and describe the modules that make up the server and client programs. Unfortunately space does not output permit a full listing of the source code. The full source code and make files are available however at http series by example . Table lists all the source files that you will need. Some of the more interesting ones will be listed and described within this chapter. Linux Socket Programming by Example - Warren W. Gay 461 Table . Source Modules for the Quote Server and Client Source Description File Makefile The project make file. Implements the .

TỪ KHÓA LIÊN QUAN
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.