Click to See Complete Forum and Search --> : c++: winsock to berkley conversion


f'lar
04-26-2001, 09:25 PM
My networking professor gave us this programming assignment(actually several, the idea just occured to me on this one), and to help he gave us the code to a simple winsock program (it's just an echo client). It's written using winsock, but I'd like to make it work in linux, which I believe uses berkley API, just to know how. I'm told the two are pretty similar, I'm just wondering what changes would need to be made to the winsock echo client to make it compile with gcc.

On second thought I could make it compile just by commenting everything out, so let's say changes needed to make it work after compiling with gcc.

Strike
04-26-2001, 09:30 PM
http://www.sockaddr.com/TheSocketsParadigm.html


And check out that site in general.

f'lar
04-26-2001, 09:40 PM
Thanks, that site answers most of my questions, and the rest I think I can find pretty easily once I finish there.

andy4us1
04-29-2001, 08:36 PM
If if you use CommonC++, a GNU projecy, hosted on sourceforge, then you project will cross compile !

might be worth bonus points !

Andy :cool: