Aiakonai Posted May 19, 2008 Posted May 19, 2008 Hello I am trying to write a script to connect between computers on a network at work. I'm not very familiar with how this works and I cannot seem to find this "help file on tcp connections" anywhere... all I see are extremely large completed programs... if possible could someone please A) point me in the right direction to how this stuff works. or... reply a simple example I can work with. (not a 400+line program "") hmm... I wonder which key is the any key :O
therms Posted May 19, 2008 Posted May 19, 2008 Hello I am trying to write a script to connect between computers on a network at work. I'm not very familiar with how this works and I cannot seem to find this "help file on tcp connections" anywhere... all I see are extremely large completed programs... if possible could someone pleaseA) point me in the right direction to how this stuff works.or... reply a simple example I can work with. (not a 400+line program "")The help file has nice examples of how to use TCP and UDP functions.Just look under Function Reference > Network Functions.There's a TCP and UDP server and client in there.
Aiakonai Posted May 19, 2008 Author Posted May 19, 2008 The help file has nice examples of how to use TCP and UDP functions.Just look under Function Reference > Network Functions.There's a TCP and UDP server and client in there.I am trying to make a client/server program using either of these types of connectionI have attempted a few ways of connecting two computers with TCP mostly just slight modifications to the help file to try and understand how this works.For this codeTCPStartUp()$socket = TCPConnect( $g_IP, 65432 ) <----what would be a good port for a network only connection (not going over the internet)?should i be giving the ipaddress returned by @IPAdress1 ?? hmm... I wonder which key is the any key :O
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now