ahmed9100 0 Posted May 5, 2011 hello every one i want to do something but i cant i want to make a server and Clint 1 - client : send a massage to server and then wait to receive another message from server like i send "hello" then receive "hello too" 2 - server : listen to all ip range from 10.0.0.1 - 10.0.0.255 then if any client send message like "hello" it send back "hello too" can any one tell me how can i do that coz im not that good in auto it Share this post Link to post Share on other sites
smartee 14 Posted May 5, 2011 hi ahmed9100,There are lots of of tcp server/client examples in the example scripts section, search the forum Hope this helps-smartee Share this post Link to post Share on other sites
ahmed9100 0 Posted May 5, 2011 thx smartee ill try it and feed back thx again Share this post Link to post Share on other sites
momo1984 0 Posted May 5, 2011 Hi , I saw a basic TCP client server tutorial done by 403forbidden on youtube. Here is a link hope this helps :-) Share this post Link to post Share on other sites
ahmed9100 0 Posted May 5, 2011 thx smartee it works but is there any way to send the message gust to the ip who send the message not broadcasting to every one ! and thx momo1984 for ur help but im tryid to look in help file but i couldn't do what i want Share this post Link to post Share on other sites
smartee 14 Posted May 5, 2011 is there any way to send the message gust to the ip who send the message not broadcasting to every one At a glance it seems that changing the line _Broadcast_To_Sockets_ ($Recv)toTCPSend ($Socket_Data[$0][0], $Recv) does the trick -smartee Share this post Link to post Share on other sites
ahmed9100 0 Posted May 5, 2011 thx again smartee you r the man Share this post Link to post Share on other sites