Jump to content
alin2012

TCP functions

Recommended Posts

Hello, i have two computers connected through an ethernet cable. Can i use the tcp functions to send a string from one computer to another? i tried tcpconnect('192.168.3.1,1000,1000) and i get Socket Error # 10061

Connection refused . that is the ip of the other computer. I tried another port, same result. But i can ping from cmd the other computer. These functions are not working with ips? Is some program which must be run on target computer to do this? Please tell me how can i connect and send a message to other computer using scar.

Edited by alin2012
Link to comment
Share on other sites

SCAR can use TCP functions only to connect to a server. As SCAR does not currently support multi-threading, no server functions are available, as it would only be able to handle 1 connection at a time "efficiently". If you want to use TCP functions to communicate between SCAR instances, you'll need to write a server in another language like Delphi or Java to act as intermediary.

Edited by Freddy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...