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.
Printable View
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.
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
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,
Theres also some WinSock and chat demo on my site ;)
Oh and the tutorial of course ^_^
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 :)
If you click on the link to follow discussions on the Winsock Chat topic, there are forum posts that correct the errors.
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 :)
There is something wrong with your LAN then, because Ive tried this on my LAN, and it works perfectly after a litttle modification.
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.
If i can share folder and split my internet connection over all computer and the chat dont work.... :confused:
Your router must be set up like mine; no winsock allowed :(. So you should ask your admin to change this.
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 :
... replace 'IP_ADDRESS' with the IP address of some other system on the network.Code:ping IP_ADDRESS
To find IP Addresses, you could download this app : http://www.everymanonline.com/whadda...escription.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
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:
Hey, do you have any good tutorials on DirectPlay? Most DirectX websites have nothing on it :(
Well I AM SORRY ! LOL :)
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
http://rookscape.com/vbgaming/
It has good (great!) Dplay tuts.
Jesus I avoid DirectPlay like the plague.
I prefer to do things myself.
Tho its support for IPX does excite me a little ;)
Thanks for the link, I'll look at it later ;)
Thx You, and I solved my Ip problem ^_^ but I will learn Direct X now later guys:)