| | |
Problem when connecting with winsock through router
![]() |
•
•
Join Date: Sep 2008
Posts: 4
Reputation:
Solved Threads: 0
I use winsock a lot in my programs and it is very good but I can't achieve a connection when one of the users is behind an adsl router.
What should I do in order to make the connection?
I tryied port forwarding but the problem remains.
The applications I tested this on are working fine on a lan network or ona an internet network but with modem connection.
plz help me.
What should I do in order to make the connection?
I tryied port forwarding but the problem remains.
The applications I tested this on are working fine on a lan network or ona an internet network but with modem connection.
plz help me.
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
I use winsock a lot in my programs and it is very good but I can't achieve a connection when one of the users is behind an adsl router.
What should I do in order to make the connection?
I tryied port forwarding but the problem remains.
The applications I tested this on are working fine on a lan network or ona an internet network but with modem connection.
plz help me.
•
•
Join Date: Sep 2008
Posts: 4
Reputation:
Solved Threads: 0
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Private Sub Command1_Click() w1.Close DoEvents w1.Connect Text1.Text, Text2.Text DoEvents DoEvents End Sub Private Sub Command2_Click() w2.Close DoEvents w2.LocalPort = Text3.Text DoEvents w2.Listen DoEvents End Sub Private Sub Command3_Click() If w1.State = sckConnected Then MsgBox "AXAXOUXA!" End Sub Private Sub w1_ConnectionRequest(ByVal requestID As Long) If w1.State <> sckConnected Then w1.Close w1.Accept requestID End Sub Private Sub w2_ConnectionRequest(ByVal requestID As Long) If w2.State <> sckConnected Then w2.Close w2.Accept requestID End Sub
![]() |
Similar Threads
- Vista Local Access Only Problem (Windows Vista and Windows 7)
- Internet Connected But Won't Open Web Pages (Viruses, Spyware and other Nasties)
- Connecting to a computer via sockets (C++)
- Winsock connection problem (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Using Data Control.. Sumbody plz guide me..
- Next Thread: msgBox to confirm close database
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





