What is SOCKET in TCPIP ?

Harshad Italiya

Harshad Italiya

@harshad-ukH5ww Oct 18, 2024
What is SOCKET in TCPIP ?
Can anyone explain with real examples ?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Anoop Kumar

    Anoop Kumar

    @anoop-kumar-GDGRCn Jan 29, 2013

    May be you know about it.. but I am adding here.
    Sockets are nothing but communication between two protocols.
    All the web-services works on basics of sockets using api's which makes socket programming very easy.
    Like video chatting from android phone while other person desktop.
  • rahul69

    rahul69

    @rahul69-97fAOs Jan 29, 2013

    godfather
    What is SOCKET in TCPIP ?
    Can anyone explain with real examples ?
    You may get different answers for this question depending on the context, In my opinion, Socket is a file descriptor (yup 😀), just that it is used on the network rather than on the local system.We use Socket() function to create a socket, then we bind that socket, with some address and port, and then use it to send and receive data. That's pretty much about socket, rest are minute working and implementation details which may depend on language being used etc..😀
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Jan 29, 2013

    TCPIPCLIENT is one type of SOCKET right ?

    When we Open <a href="https://www.crazyengineers.com">CrazyEngineers</a> it opens one socket on the server right?
  • rahul69

    rahul69

    @rahul69-97fAOs Jan 29, 2013

    godfather
    TCPIPCLIENT is one type of SOCKET right ?

    When we Open <a href="https://www.crazyengineers.com">CrazyEngineers</a> it opens one socket on the server right?
    I don't know about TCPIPCLIENT. Could u give me a link to it?. And yes it does opens the socket when we connect to it.
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Jan 30, 2013

    rahul69
    I don't know about TCPIPCLIENT. Could u give me a link to it?. And yes it does opens the socket when we connect to it.
    Sorry my mistake I mean HTTP Client.