title: Trying to get sockets with the same address and different ports to pass data back and forth
body: <p>Firstly, please excuse my probable butchering the technical terminology. I've been thrown into socket IO with little formal education and I know that I am bungling words left and right.</p>
  
  <p>I'm trying to build a client and server in C that enables multiple clients to connect to one another. The general procedure goes something like this:</p>
  
  <p>1) Server has one port that is constantly listening and accepting connections<br>
  2) A client connects on that port<br>
  3) Server creates a new socket (same address, different port number), tells the client to connect to that socket, and closes the connection with the client.<br>
  4) The client connects to the designated socket and provides the server with a channel it would like to be on<br>
  5) Server places that socket on the designated channel<br>
  6) Repeat steps 2 through 5 for each client that connects to the server<br>
  /* all of the above has been coded already */<br>
  7) Once a channel has 2 or more members, I'd like to have each member port be able to broadcast to all other ports in the same channel (and thus the clients communicate with each other)</p>
  
  <p>In this situation, all involved sockets on the same channel have the same address and DIFFERENT port numbers. Everything I've read and researched about broadcasting and multicasting revolves around each communicator having the same port number and different addresses.</p>
  
  <p>Is there a way to do the communication that I'm hoping to do, in C?</p>