Jump to content

TCPSend and TCPRecive question


Krol
 Share

Recommended Posts

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

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

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...