How do you create a socket?

Trần Vũ

New member
How do you create a socket?
Answer
Before you can use a socket to communicate with remote devices, the socket must be initialized with protocol and network address information. The constructor for the Socket class has parameters that specify the address family, socket type, and protocol type that the socket uses to make connections.
 

Tìm kiếm

Back
Top