Sign in to follow this  
Followers 0
ahmed9100

Help with TCP/IP Concection

7 posts in this topic

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



hi ahmed9100,

There are lots of of tcp server/client examples in the example scripts section, search the forum :unsure:

Hope this helps

-smartee

Share this post


Link to post
Share on other sites

thx smartee ill try it and feed back thx again :unsure:

Share this post


Link to post
Share on other sites

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

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

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)
to
TCPSend ($Socket_Data[$0][0], $Recv)

does the trick :unsure:

-smartee

Share this post


Link to post
Share on other sites

thx again smartee you r the man :unsure:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0