alex
alex

Reputation: 67

Do TCP and UDP each have separate set of ports?

I know that both TCP and UDP can have same port. But I also read that it was for high level protocols. I want to know if they also have a separate set of ports for their exclusive usage? Do they each have 65535 ports assigned to them? I am confused and a little clarification could greatly help.

Upvotes: 1

Views: 1219

Answers (1)

computatma
computatma

Reputation: 81

I think you should get some book or tutorial on this matter.

Like @Some programmer dude said "Each port is exclusively either TCP or UDP".For eg : for HTTP default TCP port is 80, Telnet is 23, for DHCP UDP port 67/68 and so on... Having a look at this Wikipedia page might clear your doubt : here

Upvotes: 1

Related Questions