Jump to content

Socket Programming in C

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
saviour2009

saviour2009

    Newbie

  • Members
  • Pip
  • 5 posts
Hello everybody.....

I am working on a project in which I am supposed to send my data to the server and perform processing on the server and then retreive the same data/result. For that I need to do socket programming. I am comfortable in C only. So please help me about Socket Programming in C.

#2
Red_Shadow

Red_Shadow

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts
Don't ask people to google information for you.

This took me 10 seconds to find:
http://beej.us/guide...page/index.html

Please refer to this:
How To Ask Questions The Smart Way

Hope this helps.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The first question you will get back is: which OS/environment is this in? Socket programming is not part of the core C language, so we need more details.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
outsid3r

outsid3r

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 623 posts
Yea, portability, i think that a portable socket library does not exists for C, however, you can try boost, but you need to switch to C++.

#5
saviour2009

saviour2009

    Newbie

  • Members
  • Pip
  • 5 posts
hello friends......thanx for d reply......I am finding a bit of problem in running programs that are made for unix platform on windows. I As given in the Beej's guide I am adding winsock.h file in the program. BUt still I am facing some problems. Can anyone help me out step by step detail how to make it work on Visual Studio 08.