123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|662|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> Internet

Fri, 23 Feb 2007, 15:18
ingenium1
I want to send data by a program, coded in C, throught internet... but i can't figure out how i can...
P.s. If you know how in C++ I can translate the entire program in C++...

-=-=-
Roger Federer is go(o)d.
But he is not alone.

Just relax... sometimes there's no need to argue.
Fri, 23 Feb 2007, 17:23
Yayyak
There is no way of doing it in standard C. You'll have to use an external library.

Microsoft has a TCP/IP library to use. There's also a POSIX sockets library (also TCP/IP, afaik). I don't know the exact name of either of these, because I've never tried doing network programming.

If you want to do it multiplatform, you could try using the SDL's network library. Afaik, you can just link in the network part.
Mon, 26 Feb 2007, 12:22
ingenium1
thnx guys