1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

help me in Socket programming

Discussion in 'C' started by wagmare, Jul 29, 2008.

  1. wagmare

    wagmare New Member

    Joined:
    May 14, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    soft.engg
    Location:
    Bangalore
    can any body help me in programming socket in C using threads where(client.c) one thread is for send and another thread for recv from (server.c).
    i try but i cant create a socket in the thread function ... can any one suggest some heip or send some helping links.....
    thank u :nice:
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    http://en.wikipedia.org/wiki/Internet_socket
    http://en.wikipedia.org/wiki/Thread_(computer_science)

    My recommendation would be to get the hang of threading and socket programming separately, and once you've got the hang of both individually, then combine the two.
     
  3. wagmare

    wagmare New Member

    Joined:
    May 14, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    soft.engg
    Location:
    Bangalore
    thank you...
     

Share This Page