Directory (?) [-]
Conceptual understanding
Five types of IO models under Linux
Blocking IO Model
Non-blocking IO model
IO multiplexing Model
Signal-driven IO
Asynchronous IO Model
Comparison of an IO
http://blog.csdn.net/jenminzhang/article/details/47017741HTTP protocol : In the application layer of Internet Protocol, the role is to specify the format of data transmission, HTTP is based on the socket (here the context refers to the HTTP socket)
Socket in English means "(Connect two items) Groove", like the eye socket, meaning "eye socket", in addition to "socket" meaning. In computer science, sockets usually refer to the two endpoints of a connection, where the connection can be on the
Socket programming considerations:1. Connection timeoutNot recommendedM_socket = new socket (fm_ipaddr, fm_port );M_socket.setsotimeout (180000); // The data read timeout value is set to 3 MB.In the preceding method, when the other port is dropped,
http, RMI, socket, RPC, hessian comparison
Socket can be used to specify protocol tcp,udp and so on;
RIM: Using the JRMP protocol, JRMP is also based on TCP/IP;
RPC: The bottom layer uses the socket interface, defines a set of remote call
Introduction Java NiO, introduced from JDK1.4, provides a completely different way of working with standard IO. The NIO package (java.nio.*) introduces four key abstract data types that work together to address some of the problems in traditional I/
TCP is generally used to maintain a trusted connection, more secure than UDP, in vs.net, there are tcpclient and UdpClient and TcpListener, the general development of the basic can meet the needs, but this has a great disadvantage, For the
Inter-process communication using Socket: (connection-oriented communication in UNIX domain)
In addition to communication between different hosts on the network, the socket can also implement communication between different processes on the same
Socket Programming Principle
1, the introduction of the problem
1) Normal I/O operation process :
The set of I/O commands for UNIX systems evolved from commands in Maltics and earlier systems, with a pattern of opening a read/write one close
OSI layer Seven Protocol featuresTCP protocol FeaturesReliable connection-oriented transmissionEnd-to-end, build/DisconnectCorrect and sequential data transferAgreement on issuesLoss, duplication, disorder, delay of IP datagramsMatching of send and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.