A1VBCode Forums

help with tcplistener/tcpclient


http://www.a1vbcode.com/vbforums/Topic24600.aspx

By hogscraper - 4/10/2008

hello all!

I have spent the last year working on a cataloging program for a card game I play and recently I tried to add in a small chat window and other functions using the TCPlistener and TCPClient functions. I can successfully run two copies on my local machine with one as a client and one as a server, however, I can't get it to work over the internet. Both parties are using connections with IP's that are always the same, (not assigned on login), and we both turned our firewalls off and still nothing. Can these functions be used between two home pc's over internet connections or does a real server somewhere have to be involved?

I made the non-chat functions run off of the chat stream so will I end up having to use some kind of text-parsing script or go between for this to happen? Right now I don't seem to have any issues with running this over a home network, but even with the router taken out and the cable modem only I can't seem to make an outside connection to another copy of the program. Is there a way to enable a certain port number to accept incoming information or is my ISP blocking this?

Any information on these things would be greatly appreciated as I've written almost 300,000 lines of code total and really want this program to work!

thanks in advance,

hogscraper
By dilettante - 5/11/2008

Maybe you should ask in the VB.Net section.