Search:

Type: Posts; User: geewhan; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,545

    Re: How to add .o file in the Linux Kernel

    the_unforgiven,

    I believe what you wrote is really important, but I am having a hard time understanding or locating the files that you recommended.

    When you mean the .config file are you...
  2. Replies
    6
    Views
    1,545

    Re: How to add .o file in the Linux Kernel

    the_unforgiven,

    Thank you for the reply.

    So far I have done that steps on editing the MAKEFILE and the Kconfig file. Where I see veno, I copy and paste another line(s) of code and replace it...
  3. Replies
    6
    Views
    1,545

    How to add .o file in the Linux Kernel

    I would like to know how would you enable the Congestion Control Algorithm correctly (lets call it Tcp_quic or quic).

    My code is almost exactly like the tcp_veno.c file. Just the algorithm in the...
  4. Re: How to add a C file and Enable it in Linux Kernel?

    I just realize that in the Linux Kernel folder(kernel\linux-3.3.6\net\ipv4), where I added the tcp_quic.c file, does not have .mod.o or .o file. With means that the tcp_quic.c did not compile...
  5. Re: How to add a C file and Enable it in Linux Kernel?

    I believe I am using 32 bits. I am not on my desktop that I can 100% confirm this, but it is most likely 32 bits.

    However, how does this relate to the problem?
  6. Re: How to add a C file and Enable it in Linux Kernel?

    hansdown,

    thanks for you help, but I feel like there may be still a problem with that line of code.

    I believe when it says "newalgorithm", it uses the other congestion control algorithm. There...
  7. How to add a C file and Enable it in Linux Kernel?

    I would like to know how would you enable the Congestion Control Algorithm correctly (lets call it Tcp_quic or quic).

    My code is almost exactly like the tcp_veno.c file. Just the algorithm in the...
  8. How to use kernel_fpu_begin and kernel_fpu_end correctly?

    I would like to know how to use the functions, kernel_fpu_begin and kernel_fpu_end, correctly.

    I did try to google this, but the other forums were not clear enough for me to understand.

    I did...
  9. How to write a fixed point function for the Linux Kernel?

    I would like to ask how to use fixed point in the linux kernel because the two functions, kernel_fpu_begin() and kernel_fpu_end(), does not work. So another method for solving this floating number is...
  10. How to use a float/double without using float/double keyword?

    I know this is weird to ask, but how do you set a variable as a decimal without using the keywords float/double?

    I ask this because when I am compiling the Kernel I get an error when I use...
  11. Replies
    1
    Views
    292

    What enables Tcp_Vegas in the Kernel?

    I would like to know if someone could tell me in the tcp.c file which function/line of code that enables the congestion avoidance algorithm.


    I believe that this function/line of code enables the...
  12. Re: Where is the TCP source code in Ubuntu 10.04?

    This is an update what I have been told and look so far.

    So when I go to the directory on my Desktop Linux usr/src/linux-headers-2.6.32-38/net/ipv4 I do not see any files in c/c++/h.
    Though the...
  13. Where is the TCP source code in Ubuntu 10.04?

    I was wondering if anyone knows where the TCP source code is located in Ubuntu 10.04
    I ask because I would like to modify the code (like how Cal Tech modify it to FAST TCP)
    I try the directory...
  14. Replies
    3
    Views
    795

    Re: Socket: Client question

    dwhitney,
    First, Thanks for helping me a lot.
    To answer your question, does it really matter if I use TCP/UDP. I understand that UDP is unreliable and UDP is mostly use for graphic or video data...
  15. Replies
    3
    Views
    795

    Re: Socket: Client question

    Also when I get a chance to log on my Linux, I will print screen running code of the terminal to show what I mean, if no one understands my problem. If you run the server code I have posted and run...
  16. Replies
    3
    Views
    795

    Socket: Client question

    Hello,

    I am trying to write a client code in C. What I would like to do is create like an Instant message server-client socket. Where I want to have one Server and multiple Clients. I come to a...
  17. Replies
    11
    Views
    784

    Re: Help with server Socket Chat code

    dwhitney,



    I initialize it here and I believe the size is 46

    char remoteIP[INET6_ADDRSTRLEN];

    I was thinking the same thing about INET6_ADDRSTRLEN because this is for IPv6, so for IPv4...
  18. Replies
    11
    Views
    784

    Re: Help with server Socket Chat code

    dwhitney,

    Like you mention on the Beej's site. I copied this exact same code that he wrote, but made some modifications. His codes are located on pg 37-40 in the pdf form.

    Beej used int...
  19. Replies
    0
    Views
    296

    Child Process code help

    Hey guys, I am writing a code for a server where it would recognize multiple clients. So far the code runs, but does not recognize the child. Does anyone know the reason why?

    Thank you for your...
  20. Replies
    11
    Views
    784

    Re: Help with server Socket Chat code

    When you are referring where the ai is pointing I assume this part of code tells where it is pointing:


    memset(&hints, 0, sizeof hints);
    hints.ai_family = AF_UNSPEC;
    ...
  21. Replies
    11
    Views
    784

    Help with server Socket Chat code

    Hey guys, I am writing a code for a server where it would recognize multiple clients. So far I am getting an error "Segmentation fault" when I run this code. I believe it is from this line of code:
    ...
  22. Re: Please help me understand this Multiperson chat server cod

    Could someone please tell me what is the difference between child and parent when using the fork() command.

    Also how the fork() command is used.

    Is there another site you could refer. The one...
  23. Please help me understand this Multiperson chat server cod

    Hey guys, I would like to know if someone could tell me step by step what these commands does.

    I know this code is a multiperson chat server which I got it off from a site, but not a full...
  24. Replies
    9
    Views
    771

    [SOLVED] Re: Ubuntu 10.04 wifi button stays on amber

    omg thank you thank you thank you

    I do not know how you did it, but it works now.

    Even though I wanted Ubuntu 11.10 to work, but I think I can settle with Ubuntu 10.04 since it is working.
    ...
  25. Replies
    9
    Views
    771

    [SOLVED] Re: Ubuntu 10.04 wifi button stays on amber

    for cat /etc/lsb-release; uname -a


    gee@ubuntu:~$ cat /etc/lsb-release; uname -a
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=10.04
    DISTRIB_CODENAME=lucid
    DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
    Linux...
Results 1 to 25 of 39
Page 1 of 2 1 2