how can i use winsocuk to send a command to a ip.
Printable View
how can i use winsocuk to send a command to a ip.
Depends what kind of command...and if you are planing on using winsock then the pc that you are trying to communicate with will have to be running some kind of server.
Gl,
D!m
it will be a a irc. server and the comand will be mirc commands. i just want to make it send a cmmand to the server telling it to do blah blah with out conecting just send the command.
I used this to send commands to mIRC. Maybe it will help you in some way.
If that doesn't do anything for you then i would suggest sending keys to the server.Code:Private Sub Command1_Click()
Text1.LinkTopic = "mIRC|COMMAND"
Text1.LinkMode = vbLinkNone
Text1.LinkItem = Text1.Text
Text1.LinkMode = vbLinkManual
Text1.LinkPoke
Text1.Text = ""
End Sub
Gl,
D!m