RE: manipulating sText in ReceiveNotify?
I had this problem a while ago, when i was experimenting with making a game as a plugin...
I had it send the IP for winsock in 3 parts - first off the client computer sent "pkr01", the server replied with "pk127", the client sent "pkr02", server "pk000", etc. etc. until i had the four parts of the IP address (127.0.0.1 in this case), then I established a winsock connection.
theoretically, you should be able to do this, then send all the data you want thru winsock, or u can just do that same back and forth thing for ages if you don't want to let ppl find IP addresses with netstat.
Either way, it can be a bit tedious to figure out, but once you've done it, you can reuse the code in many ways
|