|
TCP / IP Library for Allegro (Mingw32) |
takis76
Member #1,419
July 2001
|
Hi there again , I am working on my game as I say "Future Networks" is the name of my game. The good new is I am working on my game and all things are very well so far. I am working in User Interface I did something The FMOD is better and my game speed is better and so far I will use the standard Allegro's Blender routines so far the speed of my game seems to be normal for me. So far I have create few things: Some game interface , Some good futuristic Monitors with satellite controls and panels. The demo so far is very small and is not much playable only three screens But no problem Now I want to do something more usefull I am using Dev-Cpp with Mingw32 and I am making my game in windows as I said and I am looking for a library which can I send a small string to a IP address and an other computer can take this small string and make some jobs. For example like a chat but very simple. You are a Hacker in the Future and you need to But if you are play with more than one player is very fun. You can hack a server and one player can send you some usefull files in the game remember Uplink again. If you want to complete a mission you need 2 hackers to hack a server you with your friend This game will be a big surprise for you and I thing in christmass I will have a playable demo with one complete mission. If I will not meet other programming problems Some times in the past I had tried to put some of my screenshot of my game in the Image of The day , but I have rejected because I had not web site , I have not game or demo ready and I had not screenshots ready so the web master reject me. But not problem. Here in Greece we have an expression "good things takes long time " So you will see all thing at once. Many of you , must said User Takis76 never post game , never creates something yes I have said this in myself I want to Create a Site and Post some game because envy other people here who have web site , completed games and many times I have seen in pixelate some they have gain a award. The best game of the year and some of this I have had played many times the game IcyTower Web master you have a great web site. I am visiting this site both sites 2 Projects the first project "Dark Ages" The RPG So I have been very nervy for a long time I where very paddy and I stoped to programm for a long time because I was bored to create all thing from the biggining. So after a couple of months I deside you create other game. This is my History of my game hehe :) Could anyone knows where can I find a good easy, simple TCP/IP Network library to send small packets of data Thank you very very much all off you here. P.S. Can I Attach some screenshots here? |
DanielH
Member #934
January 2001
|
Takis. About TCP/IP, there are many out there that you can use. Libnet, hawknl, GNE(which uses hawknl), etc.. Look in the 'libraries-network' section of allegro.cc depot. |
Ron Ofir
Member #2,357
May 2002
|
Takis76: I am a non productive member too, but your days of non-productivity seem to be over now so good luck!!! |
takis76
Member #1,419
July 2001
|
Now I am trying HawkNL but I have problem I rename the makefile.mingw32 in the src directory. and I make and compilers say on file is missing C:\Dev-Cpp\HawkNl\src>make C:\Dev-Cpp\HawkNl\src> Perhaps is a pthreadGC what is this file? |
Rash
Member #2,374
May 2002
|
Remove -lpthreadGC from makefile.mingw. |
takis76
Member #1,419
July 2001
|
Hmmm A LIBNL.A file was created very interesting Where can I find documentation?
|
Rash
Member #2,374
May 2002
|
gnolam
Member #2,030
March 2002
|
Heh, that screenshot looks very Uplink-ish Go ahead and use HawkNL - it seemss like the best solution for your situation, and you can probably rely on getting help here (gillius, Nick Fisk, me, among others are/have been HawkNL users). -- |
Trezker
Member #1,739
December 2001
|
takis76
Member #1,419
July 2001
|
What Library can I use HawkNL or LIBNET? Other guys says LibNet Other guys says HawkNl but so far I didn't understand nothing will all Tell me someone where do I beggin? How make a socket how make a connection
|
deps
Member #3,858
September 2003
|
doesn't pixelate have a libnet tutorial? edit: Tadaaa, Pixelate libnet tutorial |
Kitty Cat
Member #2,815
October 2002
|
According to the docs, libnet tries to take a more Allegro-oriented OOP approach to networking. You open a connection, and it gives you a structure, with which you use to listen for or send data(depending on how you opened the connection). The same functions work with serial connections, IPX, TCP/IP, UDP(I think), and others. It even allows for TCP/IP in the DOS version under a Windows DOS box which I haven't seen any other lib do. Whereas HawkNL, as I understand it, just tries to add a compatibility layer between the different network interfaces. There's also no DOS version. -- |
Trezker
Member #1,739
December 2001
|
Yep, read the tutorial in pixelate, then I suggest you look through my example. Then you can try HawkNL and other libs using whatever tutorials you find. You'll have to make your own decision on which to use. |
|