Subject: please correct me if i am doing the wrong way.
good day,
this is how i connect to the openfire server via VPN connection..and it is connected successfully..is it correct to used IP address for my connect server?
one more thing i've used the search forum and tried what they adviced.but it didn't work.in reconnecting do i have to call this code below? or "_connection.open" is enough to reconnect back to the server?.
Connect to openfire server:
Dim jid As Jid = New Jid(txtjid)
_connection.Username = jid.User
_connection.Server = jid.Server
_connection.Password = txtPassword
_connection.Resource = txtResource
_connection.Priority = CType(NumPriority.Value, Integer)
_connection.Port = Integer.Parse(txtPort)
_connection.UseStartTLS = True
_connection.UseCompression = False
_connection.AutoResolveConnectServer = False
_connection.ConnectServer = "192.168.3.179"
_connection.Open()
im stuck in here..i cannot reconnect back..ive subcribed to all error event..it is always throws a socket error even though the connection is back..
hop u can help me..pls.
thank you in advance for all the reply.
this is how i connect to the openfire server via VPN connection..and it is connected successfully..is it correct to used IP address for my connect server?
one more thing i've used the search forum and tried what they adviced.but it didn't work.in reconnecting do i have to call this code below? or "_connection.open" is enough to reconnect back to the server?.
Connect to openfire server:
Dim jid As Jid = New Jid(txtjid)
_connection.Username = jid.User
_connection.Server = jid.Server
_connection.Password = txtPassword
_connection.Resource = txtResource
_connection.Priority = CType(NumPriority.Value, Integer)
_connection.Port = Integer.Parse(txtPort)
_connection.UseStartTLS = True
_connection.UseCompression = False
_connection.AutoResolveConnectServer = False
_connection.ConnectServer = "192.168.3.179"
_connection.Open()
im stuck in here..i cannot reconnect back..ive subcribed to all error event..it is always throws a socket error even though the connection is back..
hop u can help me..pls.
thank you in advance for all the reply.