Home > Software engineering >  Have a password, remote server IP port, how to log in
Have a password, remote server IP port, how to log in

Time:09-20

Have a password, the remote server IP port, how login
Using winsock about how to log on to the server
 Private Sub Form_Load () 
Winsock1. Connect
End Sub

Private Sub Form_Unload (Cancel As Integer)
Winsock1. Close
End Sub

Private Sub Timer1_Timer ()
List1. AddItem Winsock1. State
End Sub

Private Sub Winsock1_DataArrival (ByVal bytesTotal As Long)
Dim str1 As String
List2. AddItem Winsock1. GetData (str1, 255)
End Sub


Now winsock1. State is=7 showing has been connected to the server, behind how to operate

CodePudding user response:

Need to invoke a remote terminal related API, I guess,

CodePudding user response:

The building Lord asked the wrong place, want to depend on account, password, IP, port, will be able to "login" (want to login? Log in the operating system, into the remote desktop!) ,
I think it should belong to the category of "hacking",

IP, port, can be used to establish a TCP connection, most commonly can "connection is successful" have to "the other" word;
Even if the connection is successful, what you can do is "communication" (only for data send/receive),
As for "want to do something", then to see "the other" send data to you how to "explain" (how to "understand" the data on behalf of "instruction"),
To send you the data as "instructions" to "do something", actually need to "the other" running the corresponding service program,

I am afraid, even "hackers", not to say that any port number can be used to "login",

CodePudding user response:

I have spot software account password, and server IP, port, I wanted to do a program to copy software account password login server, obtain real-time data, can be connected to the server now, behind is how to run it don't know

CodePudding user response:

That you didn't say clear!

Profile says, you need to do is this,
Write a "service program" run on the server;
The client and server program to implement program of connection management;
Server program to implement and has been connected to the client program communication (send/receive data), and so on...

In the "before", you must learn to WinSocket communication knowledge,

CodePudding user response:

Also, do you want to clear up the spot application of communication protocol between the client and the server,
  • Related