Find the answer to your Linux question:
Results 1 to 3 of 3
Sir, good morning!! hope u will be fine. i am facing problem to send the linux local time from client to server, so please send me the required code in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2

    socket programming using linux


    Sir,
    good morning!!
    hope u will be fine. i am facing problem to send the linux local time from client to server, so please send me the required code in linux

    thnkx


    tahir ayub

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2
    please i want quick repl

    thnkx

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    This all depends on what language your using, and what your setup is. Using purely linux builtin (mostly) commands, you COULD do this (assuming your server is listening on port 54321)
    have the client use this command

    $ date | nc serverIP_or_hosname 54321

    but this REALY depends on how you want to do it, so i suggest you put this into the programing subforum, and describe your setup a bit more.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •