What information is needed to create a TCP Socket | Eklavya Online

What information is needed to create a TCP Socket

The Local Systems IP Address and Port Number. And the Remote System’s IPAddress and Port Number.