Can the same socket be used for server and client?

Posted by Surjya Narayana Padhi on Stack Overflow See other posts from Stack Overflow or by Surjya Narayana Padhi
Published on 2010-04-09T02:09:01Z Indexed on 2010/04/09 2:13 UTC
Read the original article Hit count: 319

Filed under:
|

Hi Geeks,

I put a TCP server and client code in PIC controller. Now just wanted to know, can the same device run both client and server at sametime? And if possible can we use the same socket on a TCP stack for server and for client?

© Stack Overflow or respective owner

Related posts about client-server

Related posts about sockets