Connection timeout
היי.!. אני כותב תוכנית עם - Csocketmaster ויש לי בעייה להתחבר לשרתים מרחוק כלומר הקוד הבא, רץ ופועל מתי שאני מנסה להתחבר ל Localhost . אבל ברגע שאני מנסה להתחבר לדוגמה לRemotehost אני מקבל הודעת שגיאה לרוב Connection Timeout מה הבעייה ?
היי.!. אני כותב תוכנית עם - Csocketmaster ויש לי בעייה להתחבר לשרתים מרחוק כלומר הקוד הבא, רץ ופועל מתי שאני מנסה להתחבר ל Localhost . אבל ברגע שאני מנסה להתחבר לדוגמה לRemotehost אני מקבל הודעת שגיאה לרוב Connection Timeout מה הבעייה ?
Dim WithEvents win As CSocketMaster Private Sub Command1_Click() Dim ip, port ip = Text2.Text port = Text3.Text win.Connect ip, port End Sub Private Sub Form_Load() Set win = New CSocketMaster End Sub Private Sub win_CloseSck() MsgBox (Description) win.CloseSck End Sub Private Sub win_Connect() MsgBox ("connected!") win.SendData "?" & vbCrLf End Sub Private Sub win_DataArrival(ByVal bytesTotal As Long) Dim gdata As String win.GetData gdata Text1.Text = Text1.Text & vbCrLf End Sub