Monday, July 11, 2011

Socket

Following Socket topics are covered here. These topics will keep on growing and updating. Visit again to see more topics.

Here are some of socket topics based on specific concepts and also a quick review to socket.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

3 . Manipulating the IP Number's
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

A complete step step by guide to socket programming

Basic Socket Concept's

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1 . Introducing Sockets - Basic's of the Socket
2 . Domains and Address Families
3 . Address Conversion Functions
4 . Socket Types and Protocols
5 . Binding Addresses to a Socket
6 . Connectionless-Oriented Protocols
7 . Connection-Oriented Protocols for Clients
8 . Connection-Oriented Protocols for Servers
9 . Hostname and Network Name Lookups

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


A complete step step by guide to Advance socket programming

Advance Socket Concept's

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


7 . Network Security Programming
8 . Passing Credentials and File Descriptors
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Basic Socket Concept's - Sample codes
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1 . Introducing Sockets - Basic's of the Socket
  a. socketpair
  b. bind function
  c. I/O on socketpair


2 . Domains and Address Families
  a. af_unix
  b. af_inet

    3 . Address Conversion Functions
      a. inet_ntoa
      b. inet_addr 
      d. inet_lnaof
      e. inet_netof
      f. inet_makeaddr  

    4 . Socket Types and Protocol
      a. af_x25 & SOCK_SEQPACKET


    5 . Binding address to a socket
      a. getsockname
      b. getpeername


    6 . Connectionless - Oriented Protocols
      a. UDP Datagram Server
      b. UDP Datagram Client


    7 . Connection - Oriented Protocols for Clients
      a. getservent
      b. Writing a TCP/IP Client (daytime server).
      c. daytime client


    8 . Connection - Oriented Protocols for Servers
      a. Writing a TCP/IP server (daytime server).


    9 . Hostname and Network Name Lookup
      a. Using socket uname function sample c code
      b. gethostbyname
      c. gethostbyaddr
      d. struct hostent
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      10 comments:

      1. 收集好插座基本 (good collection of socket basic)

        ReplyDelete
      2. thanks for liking the post. I will try to improve the quality as much as i can.

        --Saurabh Gupta

        ReplyDelete
      3. thanks for the putting all these concepts in one place.
        they helped a lot

        ReplyDelete
      4. thanks jyoti.

        hoping u r good in sockets now.

        --Saurabh Gupta

        ReplyDelete
      5. Thanks saurabh...for maintaining this blog... i like this blog...
        i am learning many concepts from here...

        ReplyDelete
      6. Thanks for liking supraja,

        In case you are feeling any difficulty in understanding the code and the concepts let me know I will update and explain them.

        --Saurabh Gupta

        ReplyDelete
      7. thanks for all information if you could do more examples

        ReplyDelete