Thread: online game
View Single Post
Old Apr 20th, 2008, 11:08 AM   #18
cwl157
Professional Programmer
 
Join Date: Feb 2005
Posts: 327
Rep Power: 4 cwl157 is on a distinguished road
Re: online game

the receive method i posted does not work it just hangs waiting for something when its called. Also, I can just call the client's sendData method from the Server class? When i send data from the client to the server the Server never receives it. When i call sendData from the client the Server never gets it. So i thought i would need a receive method in the Server class. The send method of the Server sends the string just fine to the Client.
cwl157 is offline   Reply With Quote