Jump to content

Ağdaki Bilgisayara Veri Gönderme


Beylerbeyinden
 Share

Recommended Posts

Kolay gelsin. Ben bir internet kafe işletiyorum. Ana bilgisayardan diğer bilgisayarlara veri göndermek istiyorum AutoİTle... TCP ile yapılabileceğini bilyorum ama nasıl olacak çok uğraştım ama bulamadım. TCPyi kullanarak sadece ağdaki bilgisayarlara mı sinyal gönderilir? İP adresini bildiğimiz ama ağımızda olmayan birisine veri gönderemez miyiz Autoitle?

Link to comment
Share on other sites

  • 2 hafta sonra ...
http://www.autoitscript.com/forum/topic/89679-ft-pocket-0012-sendreceive-files-tofrom-your-friends/

konusuna bakın uzun uzun yazmaya zamanım yok

yada

gerisi sana kalmış

ama kod yoksa cevap yazmaz arkadaşlar

;_TCPFileTransfer.au3   linki http://www.autoitscript.com/forum/topic/98400-tcpfiletransferau3/


Script receiving the file (start this first):
Code:
#include <_TCPFileTransfer.au3>
TCPStartup()
$sock = TCPListen(@IPAddress1,9009)
Do
    $ssock = TCPAccept($sock)
Until $ssock <> -1
_TCPFileRecv($ssock, "Recieved File.txt")
TCPShutdown()

Script sending the file:
Code:
#include <_TCPFileTransfer.au3>
TCPStartup()
$sock = TCPConnect(@IPAddress1,9009)
_TCPFileSend($sock, "Test.txt")
TCPShutdown()
Edited by mesale0077
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...