mIRC Home    About    Download    Register    News    Help

Print Thread
#6991 17/01/03 01:06 PM
Joined: Jan 2003
Posts: 27
S
Spoof Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jan 2003
Posts: 27
I have a quiestion abot . /socklisten [-d] [bindip] <name> [port]
What mean a bind address.And what i have to put on bindip to make this command work corecctly.Can you tell me some socket tutorial?


Tullamore Dew
#6992 17/01/03 01:22 PM
Joined: Dec 2002
Posts: 143
A
Vogon poet
Offline
Vogon poet
A
Joined: Dec 2002
Posts: 143
there's a socket tuorial here: http://www.mircscripts.org/showdoc.php?type=tutorial&id=1217

It does often help to use the Search facility of the mIRC message boards!

Oh and good luck!


Aubs.
cool

#6993 17/01/03 02:58 PM
Joined: Jan 2003
Posts: 27
S
Spoof Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jan 2003
Posts: 27
Okey I read the guide but i still don;t have answer on My question.What is a bindip.And what i have to put on its plase to be abe to execute the command smile.


Tullamore Dew
#6994 17/01/03 06:45 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
BindIP is used if your computer has two (or more) network cards (or network card(s) and modem(s)), which are connected to the internet. You can specify which IP you wish to use for that socklisten.

For example, let's say you have 2 network interface cards (NICs) installed in your computer. NIC1 uses the IP 12.34.56.78 and NIC2 uses the IP 23.45.67.89. You can set up a socklisten on either of those IP addresses using either of these two commands:
  • /socklisten -d 12.34.56.78 SListenNIC1 4321[color:black]

    This would set up a socklisten on port 4321 of IP 12.34.56.78 called SListenNIC1 and you would reference that socklisten as SListenNIC1 for all your scripts that deal with that socklisten.

    Code:
    
    on *:SOCKLISTEN:SListenNIC1:{
      ; commands
    }
  • /socklisten -d 23.45.67.89 SListenNIC2 1234

    This time, you have specified that you want to listen to IP 23.45.67.89 on port 1234 and refer to that socklisten as SListenNIC2 in your scripts.


    Code:
    
    on *:SOCKLISTEN:SListenNIC2:{
      ; commands
    }[/color]

I hope this clears up what the bindip is, how to use it, and when to use it. By far, most people won't use it, but since some folks can, there needs to be a way to get to that other IP in your script(s).


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#6995 18/01/03 02:53 PM
Joined: Jan 2003
Posts: 27
S
Spoof Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jan 2003
Posts: 27
IS absolute clear now.


Tullamore Dew

Link Copied to Clipboard