Question : Port and Chat Client

I just have some questions about ports and chat clients.

I am aware that if someone from the outside tries to talk to a port on my machine I need to make sure it routes to the right machine and port in my router, the firewall lets it through etc..

But what I do not know is what happens when the communication is initiated from the other side, for example;
I have created a chat server and chat client in Java, the chat server listens on port 8010, so the client tries to communicate to port 8010 on my server, I am thinking that the client will not have to do anything and is just able to always reach my port 8010, am I correct?

Are there any ports that I should be using?

Answer : Port and Chat Client

sorry, better description should be this:
client port is dynamic allocated when every session(a connection to server) start, and be hold on the whole specific session lifetime.
In UDP diagram mode, client just send data, that's ok.
In TCP stream mode, client first connect server, server can deside accept connection or not. if server accept connection, server send back a package to notify client connection is build. then client and server can send data to opposite end.
Random Solutions  
  •  mail bounce error message - The account or domain may not exist, they may be blacklisted, or missing the proper dns entries
  •  IMPORTANT - WAP 1.x vs. the Internet: Does a legal agreement to license content on the "Internet" include the ability to use WAP as well??
  •  How do I split the _msdcs section from the root domain DNS zone?
  •  Cisco 760 ISDN Router Configuration
  •  Can I set up email filters to auto-forward an incoming email on the server side
  •  backup cisco router config.
  •  Which secure FTP (SSL or SSH) has the least performance hit
  •  Windows 2000 Server Router Service and physical router in same network have same LAN static IP address of 192.168.1.1 - isn't that a problem?
  •  wireless network detected and connected to with excellecnt signal. Cannot acces internet
  •  Changing carreer from Programming to Networking, thinking about CCNA or MCSE
  •  
    programming4us programming4us