Creating sockets in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tezu
    New Member
    • Dec 2008
    • 39

    Creating sockets in c++

    Hi All,

    I'm new to this socket pgmg.

    I am having an application which communicates using sockets.

    I'm Creating a client socket using

    Code:
    SOCKET myClientSocket=socket(AF_INET,SOCK_STREAM,0);
    However every time I'm getting an INVALID_PIPE .
    Is thr anythn that im doing wrong here ???

    Any help is welcome :)

    Thanks in Advance
    Tezu
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    I don't think that this error is related to socket.
    Could you please post the code here?

    Comment

    Working...