Jump to content
Sign in to follow this  
Krol

TCPSend and TCPRecive question

Recommended Posts

Krol

Hi. I have a question.

If i do that

$ConnectedSocket = TCPConnect($szIPADDRESS,$nPORT)

it open remote servers (szIPADDRESS) port (nPORT) and local (127.0.0.1) port (xxxx), and i can send data.

But remote server send me replay on opened local port, how i get opened local port (xxxx) and listen it?

Thank's

Edited by Krol

Share this post


Link to post
Share on other sites
Chapi

Hi. I have a question.

If i do that

$ConnectedSocket = TCPConnect($szIPADDRESS,$nPORT)

it open remote servers (szIPADDRESS) port (nPORT) and local (127.0.0.1) port (xxxx), and i can send data.

But remote server send me replay on opened local port, how i get opened local port (xxxx) and listen it?

Thank's

Use the help...

http://www.autoitscript.com/autoit3/docs/f...ons/TCPSend.htm

http://www.autoitscript.com/autoit3/docs/f...s/TCPListen.htm

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  

×