Jump to content

Another TCP topic...


Recommended Posts

Ok so for about the past 2 weeks my friend, who graciously offered to be my guine...I mean tester, and I have been attempting to create a simple chat application. But now this is where the problem occurs, we are connecting over the internet. I have port forwarded both of our port 1999's and attempted to use that port for the tcp connection. However for some reason I cannot get it to work.

PS Since I wanted to start simple I just used the TCPSend() and TCPRecv() examples which worked just fine on my LAN connection.

Info that was used:

1)My LAN IP address(The one assigned by the router) was put into the TCPRecv()

2)My Static IP given from sites such as www.whatismyip.com was put into the TCPSend()

3)Both routers were portforwarded port 1999 to our respective computors.

4)I have no Idea what is going wrong... However I would really like to create a working chat client, however I am having trouble finding what I am doing wrong.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...