question about sockets

From: Daniel Munzinger (bender316_at_gmail.com)
Date: 04/18/05

  • Next message: phil-news-nospam_at_ipal.net: "timestamp changing for /dev/ptmx"
    Date: Mon, 18 Apr 2005 16:34:43 +0200
    
    

    Hi,

    I'm currently fighting my way through the kernel but I haven't found the
    right place yet.

    I'm searching for the way sockets are handled by the kernel.

    I'm creating a socket and get a sockfd. With the proper methods I can
    read and write. But how does the kernel know to which application he has
    to give the data?

    It's even more complicated with AF_PACKET.

    thanks and sorry for the stupid question.

    Daniel


  • Next message: phil-news-nospam_at_ipal.net: "timestamp changing for /dev/ptmx"

    Relevant Pages

    • Re: [RFC][PATCH 0/9] Network receive deadlock prevention for NBD
      ... OpenSSH works with network and unix sockets in parallel, ... kernel services, and the continued well being of the kernel, not ... And even if you will cover all kernel-only network allocations, ... Feel free to implement any receiving policy inside _separated_ allocator ...
      (Linux-Kernel)
    • SOLVED Re: Solaris 2.8 & 2.9 kernel eating all my memory?
      ... The problem ended up being an app issue that was framing the kernel. ... and repeat (keeping the older sockets open). ... I think we will end up rewriting the load generation program to use ... > simultaneous connections without any problems. ...
      (comp.unix.solaris)
    • Re: [RFC] Revised CKRM release
      ... >>implemented as kernel modules, ... they don't take resources away from the group serving a "gold" customer. ... rates for groups of listening sockets formed using source ip/port. ... independent - the resource controllers (which are/will be patches over ...
      (Linux-Kernel)
    • Re: sending messages, user process <--> kernel module
      ... >> about implementing something similar to unix routing socket, ... > buffers kernel log output for syslogd to pick up asynchronously. ... > userspace cache managers. ... including UNIX domain sockets and TCP/IP sockets. ...
      (freebsd-hackers)
    • Re: [RFC][PATCH 0/9] Network receive deadlock prevention for NBD
      ... It does not matter how condition when not every user can get memory is ... OpenSSH works with network and unix sockets in parallel, ... OpenSSH or any other user-space program will never ever have the problem ... kernel services, and the continued well being of the kernel, not ...
      (Linux-Kernel)