User Profile

Collapse

Profile Sidebar

Collapse
cdev123
cdev123
Last Activity: Mar 26 '14, 05:45 AM
Joined: Mar 16 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • multi threading program with timer to run two threads in C - Linux

    Good morning all

    I want to implement a program in c with two threads which can process simultaneousy. one thread should process data upload to the server for every 5 min in my redhat hat linux C programming

    now, my current program is working without timer, i want to do it with timers. i am not getting correct procedure to do , as i searched many methods but not found correct one.


    thanks in ad...
    See more | Go to post

  • Please tell me if i did any mistake in the above code

    i M not able to connect with tcp ip
    See more | Go to post

    Leave a comment:


  • TCPIP socket client programming in redhat linux using Eclipse CDT

    This is my sample socket tcp ip program , problem here is when i give working ip address and port number, it is showing default ip address as 127.0.0.1 and it is Waiting on (1978=port number) i.e., "connection on %d...", SERVER_PORT.


    Code:
    void socket_server_demo(void){
    int iserver_socket = -1;
    int iclient_socket = -1;
    unsigned char bTemp[1024];
    unsigned int iTemp = 0;
    int i;
    int active_net
    ...
    See more | Go to post
    Last edited by weaknessforcats; Mar 16 '14, 03:06 PM. Reason: added code tags
No activity results to display
Show More
Working...