Sponsored Content
Top Forums UNIX for Dummies Questions & Answers please suggest computer languages to create man-machine interface for Linux applicati Post 302120755 by porter on Friday 8th of June 2007 12:57:01 AM
Old 06-08-2007
Quote:
Originally Posted by cy163
I DO need a client / server framework for the above purpose.
http/html/cgi.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how do you create a man page?

i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies

2. What is on Your Mind?

Programming languages polyglots: how many languages you know?

Post what languages (including scripting) you know, why and where you think that language is most usable. Also include libraries in which you're really good at (libusb, gtk, qt, etc). assembly? C or C++? perl or python? pascal? bash or csh/tcsh? opengl? gtk or qt? mono? (27 Replies)
Discussion started by: redoubtable
27 Replies

3. Emergency UNIX and Linux Support

AIX : Create LV with poor man stripe

Hi all I have just had SAN allocate 4*30 GB of disks and had created a new scalable vg and assigned the disks to it: I used smitty to create vg and the command is: x -y'vgdata1' hdisk82 hdisk83 hdisk84 hdisk85 root@aadcxs08 / : lsvg vgdata1 VOLUME GROUP: vgdata1 VG... (4 Replies)
Discussion started by: hedkandi
4 Replies

4. What is on Your Mind?

How can I learn computer programming languages on my own?

I would love the idea to develop games. How can I teach myself computer programming? What programs or software must I use? I have the new iMac? (5 Replies)
Discussion started by: Anna Hussie
5 Replies

5. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

6. What is on Your Mind?

Please Review Our Unix/Linux Timeline and Suggest More Events and Milestones

In case you have not seen it, we have a UNIX and Linux Timeline on FB. If you have a few free moments, could you review the timeline and post back here in this thread with your suggestions and ideas for new entries and milestones? Thanks! (1 Reply)
Discussion started by: Neo
1 Replies

7. Ubuntu

Suggest books for understanding Ubuntu Linux

recommend books to understand ubuntu ...... (14 Replies)
Discussion started by: vyom
14 Replies

8. Hardware

USB interface to HP ux R Class machine

mine current HP R class machine comes with scsi but not usb port. i am thinking it is possible to get a scsi to usb converter to help to connect usb-enabled devices such as usb-enabled dvd writer, usb-enabled portable hard disk. pls advise. thanks :) (1 Reply)
Discussion started by: lchunleo
1 Replies
RTIME(3)						     Linux Programmer's Manual							  RTIME(3)

NAME
rtime - get time from a remote machine SYNOPSIS
#include <rpc/des_crypt.h> int rtime(struct sockaddr_in *addrp, struct rpc_timeval *timep, struct rpc_timeval *timeout); DESCRIPTION
This function uses the Time Server Protocol as described in RFC 868 to obtain the time from a remote machine. The Time Server Protocol gives the time in seconds since 00:00:00 UTC, 1 Jan 1900, and this function subtracts the appropriate constant in order to convert the result to seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). When timeout is non-NULL, the udp/time socket (port 37) is used. Otherwise, the tcp/time socket (port 37) is used. RETURN VALUE
On success, 0 is returned, and the obtained 32-bit time value is stored in timep->tv_sec. In case of error -1 is returned, and errno is set appropriately. ERRORS
All errors for underlying functions (sendto(2), poll(2), recvfrom(2), connect(2), read(2)) can occur. Moreover: EIO The number of returned bytes is not 4. ETIMEDOUT The waiting time as defined in timeout has expired. NOTES
Only IPv4 is supported. Some in.timed versions only support TCP. Try the example program with use_tcp set to 1. Libc5 uses the prototype int rtime(struct sockaddr_in *, struct timeval *, struct timeval *); and requires <sys/time.h> instead of <rpc/auth_des.h>. BUGS
rtime() in glibc 2.2.5 and earlier does not work properly on 64-bit machines. EXAMPLE
This example requires that port 37 is up and open. You may check that the time entry within /etc/inetd.conf is not commented out. The program connects to a computer called "linux". Using "localhost" does not work. The result is the localtime of the computer "linux". #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <time.h> #include <rpc/auth_des.h> #include <netdb.h> int use_tcp = 0; char *servername = "linux"; int main(void) { struct sockaddr_in name; struct rpc_timeval time1 = {0,0}; struct rpc_timeval timeout = {1,0}; struct hostent *hent; int ret; memset((char *) &name, 0, sizeof(name)); sethostent(1); hent = gethostbyname(servername); memcpy((char *) &name.sin_addr, hent->h_addr, hent->h_length); ret = rtime(&name, &time1, use_tcp ? NULL : &timeout); if (ret < 0) perror("rtime error"); else printf("%s ", ctime((time_t *) &time1.tv_sec)); exit(EXIT_SUCCESS); } SEE ALSO
ntpdate(1), inetd(8) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU
2010-02-25 RTIME(3)
All times are GMT -4. The time now is 08:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy