2
3
4
5
// Khởi tạo 1 Socket gửi nhận dữ liệu thông qua kết nối TCP
s = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.TCP );