We all hear that UDP is a connection less protocol. As also seen from the previous examples, it is observed that there is no peer connection established. But what if we wish to create an UDP socket connection and not a TCP connection between two dedicated endpoints. The connect API allows us to achieve the […]
Analyzing the Unix Domain UDP Socket Code
The Unix Domain UDP socket code can be found here. The difference between a stream socket in the Unix domain and the UDP socket in the Unix domain is that in the UDP socket, the client and the server both connect to different socket files. If we think of the stream socket as the server […]