Author Topic: 2 features on same port  (Read 18223 times)

mvec

  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
2 features on same port
« on: July 04, 2014, 04:45:48 PM »
How can I have the following 2 features on the same port for a server?

Feature 1:
(Normal network connection)
Clients connect to the server, the server utilizes message IDs such as ID_DISCONNECTION_NOTIFICATION.
This feature can use either udp or tcp, I don't mind which.

Feature 2:
(Server query - retrieving server name, mode name, max players, etc.)
Clients send a udp packet to the server, and the server responds with a udp packet, no connection needed.