in reply to Re: Bi-directional communication between 2 clients and 1 server over a single socket
in thread Bi-directional communication between 2 clients and 1 server over a single socket

k, thanx...I ended up rewriting the code entirely... since I know I only have 2 connections, I didnt need the accept while loop...I just hard coded each socket read for each player...made the problem ten times easier.

However, playing around with sockets and select, etc was quite an educational (and frustrating :> ) experience...

Can't wait til my next socket project.

Thanx to all of u that helped me w/ this project.

Magius_AR

  • Comment on RE: Re: Bi-directional communication between 2 clients and 1 server over a single socket