Click to See Complete Forum and Search --> : Game with IP
DaoK
Jun 17th, 2001, 05:06 PM
How can we send information via IP. I created a Pong game and now I wanted to add a option for "Multiplayer" with IP but I can find how send information by IP, can you help me please.
Stewarty
Jun 17th, 2001, 08:11 PM
Use the winsock control, there is a good example of winsock chat with links on how to send data or commands via winsock at...
http://www.vbworld.com
DaoK
Jun 17th, 2001, 09:03 PM
I searched some thing to send only text ( bceause i think is the same thing to send text or to send data of the game) so I searched some chat program to examine how to send text over "ip" but I only see source of some over lan :\ I will continue to search for both.
Thx You to help me and if you have a more speacify link post it thx,
Stewarty
Jun 18th, 2001, 03:47 AM
http://www.vbworld.com/internet/winsock/
Fox
Jun 18th, 2001, 04:29 AM
Theres also some WinSock and chat demo on my site ;)
Oh and the tutorial of course ^_^
DaoK
Jun 18th, 2001, 06:20 AM
Stewarty the chat dont work with IP but only with LAN and I get a lots of problem to use it sorry :\ Im trying FOX program now I will tell ya if it work :)
Stewarty
Jun 18th, 2001, 11:59 AM
If you click on the link to follow discussions on the Winsock Chat topic, there are forum posts that correct the errors.
DaoK
Jun 19th, 2001, 06:15 AM
Well I download about 3 chat program and no one worked on my lan t.t. It's very simple what I want to do. Is a program who all computer here will have (3) and will be able to send me information with a text box.(chat) and other information with radio box ( want to share file,internet...) I will try to search more, later :)
Stewarty
Jun 19th, 2001, 09:35 AM
There is something wrong with your LAN then, because Ive tried this on my LAN, and it works perfectly after a litttle modification.
plenderj
Jun 19th, 2001, 09:40 AM
Any TCP/IP based application what works on a LAN with work on the internet, and vice-versa, as long as you've got your IP Addresses all OK.
DaoK
Jun 19th, 2001, 09:28 PM
If i can share folder and split my internet connection over all computer and the chat dont work.... :confused:
Sastraxi
Jun 19th, 2001, 10:31 PM
Your router must be set up like mine; no winsock allowed :(. So you should ask your admin to change this.
plenderj
Jun 20th, 2001, 02:12 AM
DaoK,
The systems on your network may not be running TCP/IP.
For example if you're running a netware network, all you'd really need is IPX/SPX.
But assuming you're running TCP/IP, because you can read this thread, then check if you can ping other systems on the network.
Go into a DOS Prompt, and type :
ping IP_ADDRESS
... replace 'IP_ADDRESS' with the IP address of some other system on the network.
To find IP Addresses, you could download this app : http://www.everymanonline.com/whaddayagot/description.htm
An alternative would be to go to systems, and :
IF they're running Win9x : Start > Run > winipcfg
IF they're running NT/2K : Start > Run > command > ipconfig
Those apps will show you the IP configuration on the $local$ machine.
So once you've seen if you can ping the systems, then you know you can communicate with them ; then you know there's something amiss.
If so, post your code and we'll have a look-see.
- jamie
VBShipWreck
Jun 20th, 2001, 05:25 PM
Use DirectX's DirectPlay feature instead of Winsock. It offers complete multiplayer support. DirectPlay is the standard Internet game communication system. Most good games out there use DirectX. You then could also use the rest of the DirectX system(DirectDraw, Direct3d, DirectSound, etc.) for the game. The DirectX system is faster than the normal GDI functions such as BitBlt. DirectX is accessed using regular Declare statement API calls.
Have fun :cool: :cool: :D :D :D :cool: :cool:
Jotaf98
Jun 20th, 2001, 05:46 PM
Hey, do you have any good tutorials on DirectPlay? Most DirectX websites have nothing on it :(
Stewarty
Jun 20th, 2001, 06:03 PM
Well I AM SORRY ! LOL :)
DaoK
Jun 20th, 2001, 09:35 PM
I might try to made a game with direct X but I need a tutorial to learn it :) I made a lots of game like Zelda for fun but working with keypress and that not really good and soft (mouvememnt) like my old Mario Bros 1 in my nintendo. I tryed a game of someone who did a rpg with DirectX and that really impressive. If any have some sample or tutorial please post it here. Thank You
:D ;) :p
Sastraxi
Jun 20th, 2001, 09:52 PM
http://rookscape.com/vbgaming/
It has good (great!) Dplay tuts.
plenderj
Jun 21st, 2001, 02:19 AM
Jesus I avoid DirectPlay like the plague.
I prefer to do things myself.
Tho its support for IPX does excite me a little ;)
Jotaf98
Jun 21st, 2001, 04:19 AM
Thanks for the link, I'll look at it later ;)
DaoK
Jun 21st, 2001, 06:19 AM
Thx You, and I solved my Ip problem ^_^ but I will learn Direct X now later guys:)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.