• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

[VB.NET] In class we made a simple tictactoe program but how do you use tcp

Question

togermano    50

In class we made a simple tictactoe game in vb.net but I wanna try to go the extra mile and make it playable over the network.... I know alot about tcp/ip like I would need to pick one of the computers to host it with a port a number then one of the programs need to be the client and connect to that server.... I remember teaching myself on how to make a simple chat program in vb6 using the winsock ocx but how would I do it in vb.net?

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0
togermano    50

I did I tried form1 and it didnt work even with the illegals off

Share this post


Link to post
Share on other sites
  • 0
togermano    50

I got it working I had to change Public Shared Sub ticserver() too Public Function ticserver()

Share this post


Link to post
Share on other sites
  • 0
togermano    50

I got the basis of it working..... Just gotta work on disabling the buttons until the next persons turn then reverse that for the other player :)

and somehow pick a random player to go first then alert both server and client of choice

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.