[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ProgSoc] Getting the time and ports



On Tue, May 30, 2000 at 10:02:54AM +1000, Chocky wrote:
> 
> Hi,
> 
> Does anyone know how to get the current time in a string format in C? I
> seem to have forgotten how...

time(2), localtime(3)/gmtime(3), strftime(3)

> The other question is does anyone know how to test for ports to check they
> aren't being used?

nmap is one method ...

Anand
-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.