Jump to content
  • Advertisement
Sign in to follow this  
DMINATOR

internet and C

This topic is 4992 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am thinking about starting to program applications that use internet. Does anyone know what whould be better to use ? I won't to program it in C or C++ , and be able to port it to other OS. Thank's in advance.

Share this post


Link to post
Share on other sites
Advertisement
You should use winsock, it doesnt matter if you use c or c++.

Winsock is a socket api for windows, you should learn it because the linux socket library is very similar.

http://tangentsoft.net/wskfaq/

Theres a faq for you.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
GWBasic.

Share this post


Link to post
Share on other sites
Thank's for replyes it doesn't matter for me how hard it is to learn , I have free time for now, i think il stick with winsock.

hmm GWBasic ? - was once the main language used on home computers and is still useful in learning the fundamentals of computer programming and smaller utility programs. It still runs on Microsoft Windows computers thru WindowsXP, though not in a window, but on the black screen used for MS-DOS programming above that will pop up when you click on the GWBASIC icon. <http://www.geocities.com/KindlyRat/GWBASIC.html>

WinINet - maybe i Learn it later.

SDL_net - is interesting API, I haven't found how does it use net though.

Share this post


Link to post
Share on other sites
If you want to port it, I recommend SDL_net, it's cross-platform, so you don't even need to change any code.

Quote:
Original post by DMINATOR
SDL_net - is interesting API, I haven't found how does it use net though.


uh, what's that supposed to mean?

Share this post


Link to post
Share on other sites
Quote:
Original post by Roboguy
If you want to port it, I recommend SDL_net, it's cross-platform, so you don't even need to change any code.

Quote:
Original post by DMINATOR
SDL_net - is interesting API, I haven't found how does it use net though.


uh, what's that supposed to mean?


Hmm i wan't to add my application with internet support but as I look in this link I didn't find any of this.

Share this post


Link to post
Share on other sites
That's SDL, not SDL_net, SDL_net is an extension library for SDL, here is the SDL_net documentation, and here is the download page(note: you will need SDL in addition to SDL_net), and, finally the online API reference, is here

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by DMINATOR
I am thinking about starting to program applications that use internet. Does anyone know what whould be better to use ? I won't to program it in C or C++ , and be able to port it to other OS. Thank's in advance.


I've been working on a MMORPG in C.
My interent code is actually from a Linux Winsock tutorial. It should compile quite smoothly on Linux, with little to no changes to the code (Except those Microsoft specific pragma's [bawling]).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!