PDA

View Full Version : TCP/IP/SOCKETS



ajay55
28-03-2009, 11:47
Hello all!,

I'm making a game in thinBasic. Basically, the program will be like a client AND a server like it can both send and receive messages from the same program but on a different computer. I want to be able to send a message from my program on my computer to my friends computer and the message will be displayed in the game on his computer. I have looked at the tcpudp doc's but to tell you the truth, I am a little scared. :oops:

I'd appreciate any help from anyone i can get on this, thanks for your time. :)

regards,
jason pezzimenti

Petr Schreiber
28-03-2009, 12:18
Welcome to ThinBasic :),

networking can be scary, but here are 2 more examples for you ( done by Eros Olmi ):

Chat in console (http://community.thinbasic.com/index.php?topic=494.0)
Client / Server with GUI (http://community.thinbasic.com/index.php?topic=2211.msg16776#msg16776)

What kind of game do you plan to do?


Petr