Socket
Socket
Socket
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Summary■ The basic interface for network communication is thesocket, which extends the operating system's basic I/Osystem to handle network communications.■ A socket can be created with socket instance andconnected with connect function.■ Given a socket, you can determine the IP address andport number of both the local and remote end-points.■ <strong>Socket</strong>s are a generic interface to different protocols andcan handle both TCP and UDP communication.