Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

How are udp and tcp ports assigned?

  • 24-07-2011 12:38pm
    #1
    Registered Users, Registered Users 2 Posts: 377 ✭✭


    If I write a simple server application I have to specify it's port. However I don't have to specify ports for the client. So how does the port get assigned and are they assigned differently for tcp and udp?


Comments

  • Registered Users, Registered Users 2 Posts: 1,477 ✭✭✭azzeretti


    I don't understand the question! If you don't specify a connection port in the client it can't possibly connect to the server? The port you create at the server end is its listening port, this is the port the client would connect to (but its source port would be different).


  • Registered Users, Registered Users 2 Posts: 2,152 ✭✭✭dazberry




Advertisement