Jump to content

Help with TCP/IP Concection


Recommended Posts

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

Link to comment
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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...