|
Post by Necromancer on Oct 28, 2003 9:28:58 GMT -5
trying to make a chat server\client using winsock, win2k, vb6sp5. works great in the programming enviroment but doesnt work for diddly outside it. seems to not grab the port (server) or connect (client). both apps start fine and seem to be doing what they should but if i check something like netstat the port isnt listening. tried using both WAN and LAN ips with same results. any ideas or help would be greatly appreciated.
|
|
|
Post by KingpinX on Oct 28, 2003 9:58:48 GMT -5
you 100% sure your opening the port?
|
|
|
Post by Necromancer on Oct 28, 2003 10:14:37 GMT -5
server sckListen.LocalPort = ServerPort '6667 sckListen.Listen
client If Winsock1.State <> sckClosed Then Winsock1.Close Winsock1.Connect Text2.Text, 6667 'text2 is temp because of dhcp. will change to static ip later.
|
|
|
Post by Lazer on Oct 28, 2003 11:11:30 GMT -5
well the connect part is correct
are u getting the data arrival and stuff ok ?
|
|
|
Post by Necromancer on Oct 28, 2003 11:22:18 GMT -5
reclarification********** works FINE, PERFECT, AS NEEDED, AS CODED, WONDERFUL ****inside programming enviroment***** works for **** as exe. why?
|
|
|
Post by Lazer on Oct 28, 2003 11:28:47 GMT -5
no need to flowering shout
|
|
|
Post by Dangermouse on Oct 28, 2003 13:17:44 GMT -5
no need to flowering swear
|
|
|
Post by Lazer on Oct 28, 2003 14:03:18 GMT -5
flower u
|
|
Maverick
New Member
www.mavetech.tk
Posts: 174
|
Post by Maverick on Oct 28, 2003 15:14:28 GMT -5
flower?? i think the board is switching the flower word
anywayz back to topic
|
|
Maverick
New Member
www.mavetech.tk
Posts: 174
|
Post by Maverick on Oct 28, 2003 16:53:10 GMT -5
not here plz stick with the topic....
|
|
|
Post by AbsoluteGenius on Oct 28, 2003 17:07:47 GMT -5
FIREWALL
Are you using a firewall
you will find its allowing VB but not your app once compiled maybe....
|
|
Maverick
New Member
www.mavetech.tk
Posts: 174
|
Post by Maverick on Oct 28, 2003 17:29:01 GMT -5
exactly what i wanted to say after i finish up splitting the fight
|
|
|
Post by Dangermouse on Oct 28, 2003 17:35:42 GMT -5
Wasnt a fight we were joking
|
|
|
Post by Lazer on Oct 28, 2003 18:15:40 GMT -5
|
|
|
Post by Necromancer on Oct 28, 2003 18:52:40 GMT -5
FIREWALL Are you using a firewall you will find its allowing VB but not your app once compiled maybe.... yes, AG. i thought about the firewall too. even shut it down. same thing. both server and client work fine inside the enviro. client now responds with connection forcefully rejected if run as exe and server inside enviro. server still will not work right as exe at all. even tried loopback addy. nada. aint the first winsock ive done. others including my bots worked fine outside the enviro. just this one got me bulloxed.
|
|