Tekil Mesaj gösterimi
  #1  
Alt 04 Eylül 2013, 13:22
Avatar Yok
uFuK uFuK isimli Üye şimdilik offline konumundadır
 Coders 

mS Puan: 301
mS Derece: uFuK MeraklıuFuK MeraklıuFuK MeraklıuFuK Meraklı
 
Üyelik tarihi: 24 Aralık 2009
Bulunduğu yer: GiresuN
Mesajlar: 30
Konular: 6
Eklentiler: 0
Alınan Teşekkür: 0
Yapılan Teşekkür: 0
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Standart Socket İle Bilgisayara Gelen Verileri mIRC'e Yansıtmak.

on *:SOCKLISTEN:www: {
;this event acts as a server, thus when the web browser connects to it, the web browser
;will see it as a web server and act like normal.
sockaccept web $+ $ticks
echo -s *** Connection Accepted.
} on *:SOCKREAD:web*: {
sockread %temp
if (%temp) { echo -s %temp }
; echo-s the text sent by the browser to your status window.
;The text sent is based on the HTTPd protocol.
}


Bu kodu internetten sockaccept konusunu araştırırken buldum browser'a 127.0.0.1 adresini yazdiğimda



*** Connection Accepted.
GET / HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive



Bu şekilde echo alıyorum statüse. Ben kod istemiyorum sadece mantığını anlamak istiyorum



System 4 UDP rackwell-pc.domain.name netbios-ns * * 153 7.650 12 600
TCPView ile bilgisayarimdaki portları izleyebiliyorum bilgisayarimdaki bir porttan gönderilen veriyi mIRC'Te Socklisten ile nasil dinleyebilirim?



Örneğin Browser'a www.mircscripting.net yazdiğimda mIRC'm o an 80 web portunu dinliyorsa statüse verileri echolatmasını istiyorum.



Yukardaki kod mantığında 127.0.0.1 dişinda adres girdiğimde çalışmıyor maalesef sistem. Neden çalışmadığını ve çalışması için ne yapmam gerektiğini anlatırsanız sevinirim şimdiden teşekkürler.

Alıntı ile Cevapla
Sponsored Links
 
1 2 13 14 16 17 18 19 21 22 23 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 49 50 51 52 54 55 56 57 58 59 60 61 62 63 67 68 69 70 71 72 73 74 75 76