Jump to content

TCP errors...errors everywhere!


Recommended Posts

im getting an evil error in teh beta thing, i cant open a listening socket...heres my code:

TCPStartup()

$MainSocket = TCPListen("67.165.248.90", 190,  100)
If $mainSocket = -1 Then
    MsgBox(1, "Debug", "Error #" & @error)
    Exit
EndIf

$command = ""

while 1
    sleep("1500")
    $command = TCPRecv ($MainSocket, 255)
    If $command = "" Then
        Sleep("1")
    Else
        If $command = "mouse1" Then MouseMove(0, 0, 40)
        IF $command = "haxoff" Then exitloop
    EndIf
wend

TCPCloseSocket($MainSocket)

TCPShutdown()

b the w i get error #10049

also i am using teh beta cause i am nice like that

someday, in the far future, spam will own the world...

Link to comment
Share on other sites

im getting an evil error in teh beta thing, i cant open a listening socket...heres my code:

b the w i get error #10049

google: winsock error 10049

Question/Problem: WSAEADDRNOTAVAIL (10049) Cannot assign requested address.

Answer/Solution: Normally results from an attempt to create a socket with an address not on this machine.

I guess the IP address you specified in TCPListen() is not configured on your machine. Check with "ipconfig /all".

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

woohoo...errors, errors and more errors, well, not really an error this time but just it either wont send the packets or wont recive them...

check out the help file samples for TCPRecv() and TCPSend(). Start with that and then modify the code to your needs.

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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