CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 3090|Reply: 4

Clock Synchronization

[Copy link]
Post time 27-7-2006 11:51 PM | Show all posts |Read mode
tumpang lalu...
sape tau mcm mane nk wat coding utk real-time system...
maksud saye nk wat programming yg program neh bleh baca masa (time) drpd processor system..

tolong..:pray:
saya sudahi dengan pantun;
  buah cempedak di luar pagar,
  ..... ila aakhiri pantun
Reply

Use magic Report


ADVERTISEMENT


Post time 28-7-2006 01:29 AM | Show all posts
clock dekat blog yg guna flash-shockwave tu pun baca real time dr processor jugak.
code dia mungkin ko leh cari dari linking website tu.
ini contoh: http://www.clocksforweb.com/?gclid=CLfg5ca4soYCFTVCGAodrTNN-Q

kalo ko guna opera 9, ko boleh try download widget clock dia. guna java kalo tak silap.
code dia, sori ler.... aku tatau...

p/s: menjawab soalan ke ni? atau ko nak yg cemana? ;)
Reply

Use magic Report

 Author| Post time 28-7-2006 11:54 AM | Show all posts
actually, ako nk wat system yg comp. client (device)  bleh detect time proc. yg server nyer...

ako bg contoh la..
system nie function dia bile workers punch-card kt device yg detect card (card reader), masa yg device tu detect ikot masa dlm database kat server...kebaikan dia bila card-reader tu ada byk then ada pulak kat byk tempat, xde la masa dia berbeza-beza...furthermore, workers x bleh nak lari dari punh-card awal dari masa yg dah ditetapkan sbb masa tu mmg sama antara card-reader yg ada...

mcm mana comp client bleh detect time proc. utk comp server dlm bentuk algorithm x kira la dlm language Java, C++ dll...ako cuma nk tau coding utk part nie je...

tolong...:pray:

p/s: thanks sbb try tolong.
Reply

Use magic Report

Post time 28-7-2006 06:32 PM | Show all posts
tcp/ip ade std protocol,  DAYTIME protocol .. i dah tak igt port mana, lagipun ... dah tak digunakan skarang ...
skarang org guna NTP .. (network time protocol) ...

semua client akan install ntp client .... yg connect ke server yg sama, dia akan dapatkan masa skarang, dan adjust sendiri jam system dia ..

ntp ni std .. ntp server dia pun available ...public server pun ade ... contohnye ... pool.my.ntp.org ke my.pool.ntp.org .. ...

so ... install je ntp client kat semua client pc u ... (kalau guna windows xp, dah ada built in .. kalau takde ..guna lah freeware spt automachron)... setkan ntp server yg sama, timezone yg berpatutan...
settle masalah jam ... program u pun tak perlu amik tahu pasal jam ni betul ke idak ..

tapi kalau u nak jugak check jam ni .. downloadlah ntp client source code yg terdapat di mana mana.. hack dia .. embed dlm program u ... dan guna lah .. tapi very waste of time imo ..

i rasa i tak paham masalah u yg sebenarnye ... so citerlah dengan terang ..
Reply

Use magic Report

Post time 28-7-2006 06:33 PM | Show all posts
http://www.iana.org/assignments/port-numbers

ade semua list port std kat situ
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

27-12-2024 12:33 AM GMT+8 , Processed in 0.048931 second(s), 18 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list